diff --git a/NOTICE b/NOTICE index 2805899d..2f08bad4 100644 --- a/NOTICE +++ b/NOTICE @@ -4,3 +4,30 @@ Copyright 2025 OpenAI This project includes code derived from [Ratatui](https://github.com/ratatui/ratatui), licensed under the MIT license. Copyright (c) 2016-2022 Florian Dehau Copyright (c) 2023-2025 The Ratatui Developers + +aKode's ghost avatar (shown in the TUI session header and welcome banner) is +derived from open-bot-avatar by Dominik Scholz +(https://github.com/DominikScholz/open-bot-avatar, gallery/ghost.json), +licensed under the MIT License: + +MIT License + +Copyright (c) 2026 Dominik Scholz + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/codex-rs/Cargo.lock b/codex-rs/Cargo.lock index 11c38158..3910afe5 100644 --- a/codex-rs/Cargo.lock +++ b/codex-rs/Cargo.lock @@ -287,7 +287,7 @@ checksum = "2a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3" [[package]] name = "app_test_support" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "base64 0.22.1", @@ -1879,7 +1879,7 @@ dependencies = [ [[package]] name = "codex-agent-extension" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "codex-core", @@ -1891,7 +1891,7 @@ dependencies = [ [[package]] name = "codex-agent-graph-store" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-protocol", "codex-state", @@ -1906,7 +1906,7 @@ dependencies = [ [[package]] name = "codex-agent-message-board-client" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "chrono", @@ -1929,7 +1929,7 @@ dependencies = [ [[package]] name = "codex-agent-message-board-extension" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-agent-message-board-client", "codex-config", @@ -1948,7 +1948,7 @@ dependencies = [ [[package]] name = "codex-agent-message-board-host" -version = "0.0.0" +version = "0.1.0" dependencies = [ "chrono", "codex-agent-message-board-client", @@ -1965,7 +1965,7 @@ dependencies = [ [[package]] name = "codex-agent-roles" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-config", "codex-file-system", @@ -1978,7 +1978,7 @@ dependencies = [ [[package]] name = "codex-ansi-escape" -version = "0.0.0" +version = "0.1.0" dependencies = [ "ansi-to-tui", "pretty_assertions", @@ -1989,7 +1989,7 @@ dependencies = [ [[package]] name = "codex-api" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "assert_matches", @@ -2027,7 +2027,7 @@ dependencies = [ [[package]] name = "codex-app-server" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "app_test_support", @@ -2140,7 +2140,7 @@ dependencies = [ [[package]] name = "codex-app-server-client" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-app-server", "codex-app-server-protocol", @@ -2172,7 +2172,7 @@ dependencies = [ [[package]] name = "codex-app-server-daemon" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "blake3", @@ -2202,7 +2202,7 @@ dependencies = [ [[package]] name = "codex-app-server-protocol" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "codex-app-server-protocol-noop-macros", @@ -2237,11 +2237,11 @@ dependencies = [ [[package]] name = "codex-app-server-protocol-noop-macros" -version = "0.0.0" +version = "0.1.0" [[package]] name = "codex-app-server-test-client" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "clap", @@ -2263,7 +2263,7 @@ dependencies = [ [[package]] name = "codex-app-server-transport" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "axum", @@ -2309,7 +2309,7 @@ dependencies = [ [[package]] name = "codex-apply-patch" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "assert_cmd", @@ -2329,7 +2329,7 @@ dependencies = [ [[package]] name = "codex-arg0" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "codex-apply-patch", @@ -2352,7 +2352,7 @@ dependencies = [ [[package]] name = "codex-async-utils" -version = "0.0.0" +version = "0.1.0" dependencies = [ "pretty_assertions", "rand 0.9.3", @@ -2362,7 +2362,7 @@ dependencies = [ [[package]] name = "codex-attachment-store" -version = "0.0.0" +version = "0.1.0" dependencies = [ "pretty_assertions", "serde", @@ -2372,7 +2372,7 @@ dependencies = [ [[package]] name = "codex-aws-auth" -version = "0.0.0" +version = "0.1.0" dependencies = [ "aws-config", "aws-credential-types", @@ -2398,7 +2398,7 @@ dependencies = [ [[package]] name = "codex-build-info" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-install-context", "pretty_assertions", @@ -2411,7 +2411,7 @@ dependencies = [ [[package]] name = "codex-bwrap" -version = "0.0.0" +version = "0.1.0" dependencies = [ "cc", "libc", @@ -2420,7 +2420,7 @@ dependencies = [ [[package]] name = "codex-cli" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "app_test_support", @@ -2520,7 +2520,7 @@ dependencies = [ [[package]] name = "codex-client" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-http-client", "eventsource-stream", @@ -2534,7 +2534,7 @@ dependencies = [ [[package]] name = "codex-code-mode" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-code-mode-protocol", "codex-http-client", @@ -2558,7 +2558,7 @@ dependencies = [ [[package]] name = "codex-code-mode-host" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "axum", @@ -2588,7 +2588,7 @@ dependencies = [ [[package]] name = "codex-code-mode-protocol" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-protocol", "glob", @@ -2606,7 +2606,7 @@ dependencies = [ [[package]] name = "codex-code-mode-runtime" -version = "0.0.0" +version = "0.1.0" dependencies = [ "base64 0.22.1", "codex-code-mode-protocol", @@ -2628,11 +2628,11 @@ dependencies = [ [[package]] name = "codex-collaboration-mode-templates" -version = "0.0.0" +version = "0.1.0" [[package]] name = "codex-config" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "base64 0.22.1", @@ -2685,7 +2685,7 @@ dependencies = [ [[package]] name = "codex-config-schema" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "clap", @@ -2694,7 +2694,7 @@ dependencies = [ [[package]] name = "codex-context-fragments" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-protocol", "codex-protocol-test-support", @@ -2705,7 +2705,7 @@ dependencies = [ [[package]] name = "codex-core" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "arc-swap", @@ -2854,7 +2854,7 @@ dependencies = [ [[package]] name = "codex-core-api" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-app-server-protocol", "codex-arg0", @@ -2876,7 +2876,7 @@ dependencies = [ [[package]] name = "codex-core-plugin-common" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-utils-absolute-path", "semver", @@ -2885,7 +2885,7 @@ dependencies = [ [[package]] name = "codex-core-plugins" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "chrono", @@ -2934,7 +2934,7 @@ dependencies = [ [[package]] name = "codex-diagnostics" -version = "0.0.0" +version = "0.1.0" dependencies = [ "libc", "pretty_assertions", @@ -2942,7 +2942,7 @@ dependencies = [ [[package]] name = "codex-direct-tool-timing" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-utils-critical-path", "pretty_assertions", @@ -2953,7 +2953,7 @@ dependencies = [ [[package]] name = "codex-exec" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "assert_cmd", @@ -3006,7 +3006,7 @@ dependencies = [ [[package]] name = "codex-exec-server" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "arc-swap", @@ -3078,7 +3078,7 @@ dependencies = [ [[package]] name = "codex-exec-server-cli" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "assert_matches", @@ -3121,7 +3121,7 @@ dependencies = [ [[package]] name = "codex-exec-server-protocol" -version = "0.0.0" +version = "0.1.0" dependencies = [ "base64 0.22.1", "codex-file-system", @@ -3139,7 +3139,7 @@ dependencies = [ [[package]] name = "codex-exec-server-test-support" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "codex-exec-server", @@ -3154,7 +3154,7 @@ dependencies = [ [[package]] name = "codex-execpolicy" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "caseless", @@ -3174,7 +3174,7 @@ dependencies = [ [[package]] name = "codex-experimental-api-macros" -version = "0.0.0" +version = "0.1.0" dependencies = [ "proc-macro2", "quote", @@ -3183,7 +3183,7 @@ dependencies = [ [[package]] name = "codex-extension-api" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-api", "codex-config", @@ -3206,7 +3206,7 @@ dependencies = [ [[package]] name = "codex-extension-items" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-utils-absolute-path", "pretty_assertions", @@ -3218,7 +3218,7 @@ dependencies = [ [[package]] name = "codex-external-agent-migration" -version = "0.0.0" +version = "0.1.0" dependencies = [ "chrono", "codex-app-server-protocol", @@ -3248,7 +3248,7 @@ dependencies = [ [[package]] name = "codex-features" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-network-proxy", "codex-protocol", @@ -3262,7 +3262,7 @@ dependencies = [ [[package]] name = "codex-feedback" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "codex-login", @@ -3282,7 +3282,7 @@ dependencies = [ [[package]] name = "codex-file-search" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "clap", @@ -3298,7 +3298,7 @@ dependencies = [ [[package]] name = "codex-file-system" -version = "0.0.0" +version = "0.1.0" dependencies = [ "bytes", "codex-protocol", @@ -3312,7 +3312,7 @@ dependencies = [ [[package]] name = "codex-file-watcher" -version = "0.0.0" +version = "0.1.0" dependencies = [ "notify", "pretty_assertions", @@ -3323,7 +3323,7 @@ dependencies = [ [[package]] name = "codex-git-attribution" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-extension-api", "serde_json", @@ -3331,7 +3331,7 @@ dependencies = [ [[package]] name = "codex-git-utils" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "chrono", @@ -3359,7 +3359,7 @@ dependencies = [ [[package]] name = "codex-goal-extension" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "chrono", @@ -3383,7 +3383,7 @@ dependencies = [ [[package]] name = "codex-guardian-context" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-context-fragments", "codex-history", @@ -3397,7 +3397,7 @@ dependencies = [ [[package]] name = "codex-guardian-reviewer" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "codex-context-fragments", @@ -3433,7 +3433,7 @@ dependencies = [ [[package]] name = "codex-guardian-v2" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "base64 0.22.1", @@ -3472,7 +3472,7 @@ dependencies = [ [[package]] name = "codex-guardian-v3" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "chrono", @@ -3502,7 +3502,7 @@ dependencies = [ [[package]] name = "codex-history" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "codex-protocol", @@ -3516,7 +3516,7 @@ dependencies = [ [[package]] name = "codex-home" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-extension-api", "codex-utils-absolute-path", @@ -3528,7 +3528,7 @@ dependencies = [ [[package]] name = "codex-hooks" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "async-channel", @@ -3557,7 +3557,7 @@ dependencies = [ [[package]] name = "codex-http-client" -version = "0.0.0" +version = "0.1.0" dependencies = [ "bytes", "codex-utils-cargo-bin", @@ -3597,7 +3597,7 @@ dependencies = [ [[package]] name = "codex-install-context" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-utils-absolute-path", "codex-utils-home-dir", @@ -3610,7 +3610,7 @@ dependencies = [ [[package]] name = "codex-keyring-store" -version = "0.0.0" +version = "0.1.0" dependencies = [ "keyring", "pretty_assertions", @@ -3621,7 +3621,7 @@ dependencies = [ [[package]] name = "codex-linux-sandbox" -version = "0.0.0" +version = "0.1.0" dependencies = [ "clap", "codex-core", @@ -3650,7 +3650,7 @@ dependencies = [ [[package]] name = "codex-lmstudio" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-core", "codex-http-client", @@ -3664,7 +3664,7 @@ dependencies = [ [[package]] name = "codex-login" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "base64 0.22.1", @@ -3708,7 +3708,7 @@ dependencies = [ [[package]] name = "codex-mcp" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "arc-swap", @@ -3752,7 +3752,7 @@ dependencies = [ [[package]] name = "codex-mcp-extension" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "axum", @@ -3783,7 +3783,7 @@ dependencies = [ [[package]] name = "codex-memories-extension" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-core", "codex-extension-api", @@ -3805,7 +3805,7 @@ dependencies = [ [[package]] name = "codex-memories-read" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-protocol", "codex-shell-command", @@ -3815,7 +3815,7 @@ dependencies = [ [[package]] name = "codex-memories-write" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "base64 0.22.1", @@ -3852,7 +3852,7 @@ dependencies = [ [[package]] name = "codex-mermaid" -version = "0.0.0" +version = "0.1.0" dependencies = [ "insta", "pretty_assertions", @@ -3861,7 +3861,7 @@ dependencies = [ [[package]] name = "codex-message-board" -version = "0.0.0" +version = "0.1.0" dependencies = [ "base64 0.22.1", "caseless", @@ -3886,7 +3886,7 @@ dependencies = [ [[package]] name = "codex-message-board-mcp" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "axum", @@ -3914,7 +3914,7 @@ dependencies = [ [[package]] name = "codex-message-history" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-config", "memchr", @@ -3928,7 +3928,7 @@ dependencies = [ [[package]] name = "codex-model-provider" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "base64 0.22.1", @@ -3965,7 +3965,7 @@ dependencies = [ [[package]] name = "codex-model-provider-info" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-client", "codex-http-client", @@ -3983,7 +3983,7 @@ dependencies = [ [[package]] name = "codex-models-manager" -version = "0.0.0" +version = "0.1.0" dependencies = [ "chrono", "codex-http-client", @@ -4002,7 +4002,7 @@ dependencies = [ [[package]] name = "codex-multi-env-copy-file" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "codex-config", @@ -4028,7 +4028,7 @@ dependencies = [ [[package]] name = "codex-mxc-sandbox" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "codex-network-proxy", @@ -4049,7 +4049,7 @@ dependencies = [ [[package]] name = "codex-network-proxy" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "aws-credential-types", @@ -4100,7 +4100,7 @@ dependencies = [ [[package]] name = "codex-ollama" -version = "0.0.0" +version = "0.1.0" dependencies = [ "assert_matches", "async-stream", @@ -4120,7 +4120,7 @@ dependencies = [ [[package]] name = "codex-otel" -version = "0.0.0" +version = "0.1.0" dependencies = [ "chrono", "codex-api", @@ -4147,7 +4147,7 @@ dependencies = [ [[package]] name = "codex-plugin" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-config", "codex-core-plugin-common", @@ -4162,7 +4162,7 @@ dependencies = [ [[package]] name = "codex-plugin-host" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-utils-cargo-bin", "codex-utils-process", @@ -4179,7 +4179,7 @@ dependencies = [ [[package]] name = "codex-process-hardening" -version = "0.0.0" +version = "0.1.0" dependencies = [ "libc", "pretty_assertions", @@ -4187,7 +4187,7 @@ dependencies = [ [[package]] name = "codex-prompts" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "codex-collaboration-mode-templates", @@ -4205,7 +4205,7 @@ dependencies = [ [[package]] name = "codex-protocol" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "chardetng", @@ -4251,7 +4251,7 @@ dependencies = [ [[package]] name = "codex-protocol-test-support" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-protocol", "uuid", @@ -4259,7 +4259,7 @@ dependencies = [ [[package]] name = "codex-queue-extension" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "codex-core", @@ -4280,7 +4280,7 @@ dependencies = [ [[package]] name = "codex-realtime-webrtc" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "codex-build-info", @@ -4299,7 +4299,7 @@ dependencies = [ [[package]] name = "codex-response-debug-context" -version = "0.0.0" +version = "0.1.0" dependencies = [ "base64 0.22.1", "codex-api", @@ -4310,7 +4310,7 @@ dependencies = [ [[package]] name = "codex-rmcp-client" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "axum", @@ -4362,7 +4362,7 @@ dependencies = [ [[package]] name = "codex-rollout" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "chrono", @@ -4395,7 +4395,7 @@ dependencies = [ [[package]] name = "codex-rollout-trace" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "codex-code-mode", @@ -4412,7 +4412,7 @@ dependencies = [ [[package]] name = "codex-sandboxing" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "codex-mxc-sandbox", @@ -4440,7 +4440,7 @@ dependencies = [ [[package]] name = "codex-secrets" -version = "0.0.0" +version = "0.1.0" dependencies = [ "age", "anyhow", @@ -4461,7 +4461,7 @@ dependencies = [ [[package]] name = "codex-shell-command" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "base64 0.22.1", @@ -4484,7 +4484,7 @@ dependencies = [ [[package]] name = "codex-skills" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-protocol", "codex-shell-command", @@ -4501,7 +4501,7 @@ dependencies = [ [[package]] name = "codex-skills-extension" -version = "0.0.0" +version = "0.1.0" dependencies = [ "assert_matches", "blake3", @@ -4540,7 +4540,7 @@ dependencies = [ [[package]] name = "codex-state" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "chrono", @@ -4569,7 +4569,7 @@ dependencies = [ [[package]] name = "codex-stdio-to-uds" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "codex-uds", @@ -4581,7 +4581,7 @@ dependencies = [ [[package]] name = "codex-tcp-tunnel" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "bytes", @@ -4602,7 +4602,7 @@ dependencies = [ [[package]] name = "codex-terminal-detection" -version = "0.0.0" +version = "0.1.0" dependencies = [ "pretty_assertions", "tracing", @@ -4610,7 +4610,7 @@ dependencies = [ [[package]] name = "codex-test-binary-support" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-arg0", "tempfile", @@ -4618,7 +4618,7 @@ dependencies = [ [[package]] name = "codex-thread-manager-sample" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "clap", @@ -4629,7 +4629,7 @@ dependencies = [ [[package]] name = "codex-thread-store" -version = "0.0.0" +version = "0.1.0" dependencies = [ "chrono", "codex-app-server-protocol", @@ -4661,7 +4661,7 @@ dependencies = [ [[package]] name = "codex-tools" -version = "0.0.0" +version = "0.1.0" dependencies = [ "bitflags 2.13.1", "codex-attachment-store", @@ -4686,7 +4686,7 @@ dependencies = [ [[package]] name = "codex-tui" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "app_test_support", @@ -4814,7 +4814,7 @@ dependencies = [ [[package]] name = "codex-uds" -version = "0.0.0" +version = "0.1.0" dependencies = [ "async-io", "libc", @@ -4828,7 +4828,7 @@ dependencies = [ [[package]] name = "codex-user-verification" -version = "0.0.0" +version = "0.1.0" dependencies = [ "base64 0.22.1", "block2", @@ -4849,7 +4849,7 @@ dependencies = [ [[package]] name = "codex-utils-absolute-path" -version = "0.0.0" +version = "0.1.0" dependencies = [ "dirs", "dunce", @@ -4863,14 +4863,14 @@ dependencies = [ [[package]] name = "codex-utils-approval-presets" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-protocol", ] [[package]] name = "codex-utils-audio" -version = "0.0.0" +version = "0.1.0" dependencies = [ "base64 0.22.1", "codex-protocol", @@ -4884,7 +4884,7 @@ dependencies = [ [[package]] name = "codex-utils-cache" -version = "0.0.0" +version = "0.1.0" dependencies = [ "lru", "sha1 0.10.6", @@ -4893,7 +4893,7 @@ dependencies = [ [[package]] name = "codex-utils-cargo-bin" -version = "0.0.0" +version = "0.1.0" dependencies = [ "assert_cmd", "runfiles", @@ -4902,7 +4902,7 @@ dependencies = [ [[package]] name = "codex-utils-cli" -version = "0.0.0" +version = "0.1.0" dependencies = [ "clap", "codex-protocol", @@ -4914,22 +4914,22 @@ dependencies = [ [[package]] name = "codex-utils-critical-path" -version = "0.0.0" +version = "0.1.0" dependencies = [ "pretty_assertions", ] [[package]] name = "codex-utils-elapsed" -version = "0.0.0" +version = "0.1.0" [[package]] name = "codex-utils-fuzzy-match" -version = "0.0.0" +version = "0.1.0" [[package]] name = "codex-utils-git-discovery" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-git-utils", "codex-utils-absolute-path", @@ -4942,14 +4942,14 @@ dependencies = [ [[package]] name = "codex-utils-head-tail-buffer" -version = "0.0.0" +version = "0.1.0" dependencies = [ "pretty_assertions", ] [[package]] name = "codex-utils-home-dir" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-utils-absolute-path", "dirs", @@ -4959,7 +4959,7 @@ dependencies = [ [[package]] name = "codex-utils-image" -version = "0.0.0" +version = "0.1.0" dependencies = [ "base64 0.22.1", "codex-utils-cache", @@ -4973,7 +4973,7 @@ dependencies = [ [[package]] name = "codex-utils-json-to-toml" -version = "0.0.0" +version = "0.1.0" dependencies = [ "pretty_assertions", "serde_json", @@ -4982,7 +4982,7 @@ dependencies = [ [[package]] name = "codex-utils-model-facing-id" -version = "0.0.0" +version = "0.1.0" dependencies = [ "blake3", "pretty_assertions", @@ -4995,7 +4995,7 @@ dependencies = [ [[package]] name = "codex-utils-oss" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-core", "codex-lmstudio", @@ -5005,7 +5005,7 @@ dependencies = [ [[package]] name = "codex-utils-output-truncation" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-protocol", "codex-utils-string", @@ -5015,7 +5015,7 @@ dependencies = [ [[package]] name = "codex-utils-path" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-utils-absolute-path", "dunce", @@ -5026,7 +5026,7 @@ dependencies = [ [[package]] name = "codex-utils-path-uri" -version = "0.0.0" +version = "0.1.0" dependencies = [ "base64 0.22.1", "codex-utils-absolute-path", @@ -5042,7 +5042,7 @@ dependencies = [ [[package]] name = "codex-utils-plugins" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-exec-server", "codex-exec-server-protocol", @@ -5056,7 +5056,7 @@ dependencies = [ [[package]] name = "codex-utils-process" -version = "0.0.0" +version = "0.1.0" dependencies = [ "pretty_assertions", "tokio", @@ -5064,7 +5064,7 @@ dependencies = [ [[package]] name = "codex-utils-pty" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "codex-utils-cargo-bin", @@ -5083,7 +5083,7 @@ dependencies = [ [[package]] name = "codex-utils-readiness" -version = "0.0.0" +version = "0.1.0" dependencies = [ "assert_matches", "thiserror 2.0.18", @@ -5093,7 +5093,7 @@ dependencies = [ [[package]] name = "codex-utils-redacted-string" -version = "0.0.0" +version = "0.1.0" dependencies = [ "schemars 0.8.22", "serde", @@ -5101,14 +5101,14 @@ dependencies = [ [[package]] name = "codex-utils-rustls-provider" -version = "0.0.0" +version = "0.1.0" dependencies = [ "rustls", ] [[package]] name = "codex-utils-sandbox-summary" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-protocol", "codex-utils-absolute-path", @@ -5118,7 +5118,7 @@ dependencies = [ [[package]] name = "codex-utils-sleep-inhibitor" -version = "0.0.0" +version = "0.1.0" dependencies = [ "core-foundation 0.9.4", "libc", @@ -5128,14 +5128,14 @@ dependencies = [ [[package]] name = "codex-utils-stream-parser" -version = "0.0.0" +version = "0.1.0" dependencies = [ "pretty_assertions", ] [[package]] name = "codex-utils-string" -version = "0.0.0" +version = "0.1.0" dependencies = [ "pretty_assertions", "regex-lite", @@ -5145,14 +5145,14 @@ dependencies = [ [[package]] name = "codex-utils-template" -version = "0.0.0" +version = "0.1.0" dependencies = [ "pretty_assertions", ] [[package]] name = "codex-v8-poc" -version = "0.0.0" +version = "0.1.0" dependencies = [ "pretty_assertions", "v8", @@ -5160,7 +5160,7 @@ dependencies = [ [[package]] name = "codex-voice-host" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "codex-install-context", @@ -5187,7 +5187,7 @@ dependencies = [ [[package]] name = "codex-web-search-extension" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-api", "codex-core", @@ -5211,7 +5211,7 @@ dependencies = [ [[package]] name = "codex-websocket-auth" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "base64 0.22.1", @@ -5230,7 +5230,7 @@ dependencies = [ [[package]] name = "codex-websocket-client" -version = "0.0.0" +version = "0.1.0" dependencies = [ "codex-http-client", "codex-utils-rustls-provider", @@ -5246,7 +5246,7 @@ dependencies = [ [[package]] name = "codex-windows-sandbox" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "base64 0.22.1", @@ -5277,7 +5277,7 @@ dependencies = [ [[package]] name = "codex-windows-sandbox-service" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "codex-config", @@ -5294,14 +5294,14 @@ dependencies = [ [[package]] name = "codex-windows-sandbox-test-support" -version = "0.0.0" +version = "0.1.0" dependencies = [ "dirs", ] [[package]] name = "codex-worktree" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "codex-git-utils", @@ -5542,7 +5542,7 @@ dependencies = [ [[package]] name = "core_test_support" -version = "0.0.0" +version = "0.1.0" dependencies = [ "anyhow", "assert_cmd", diff --git a/codex-rs/Cargo.toml b/codex-rs/Cargo.toml index 4685004a..0c15c355 100644 --- a/codex-rs/Cargo.toml +++ b/codex-rs/Cargo.toml @@ -155,7 +155,7 @@ members = [ resolver = "2" [workspace.package] -version = "0.0.0" +version = "0.1.0" # Track the edition for all workspace crates in one place. Individual # crates can still override this value, but keeping it here means new # crates created with `cargo new -w ...` automatically inherit the 2024 diff --git a/codex-rs/cli/src/bin/logs_client.rs b/codex-rs/cli/src/bin/logs_client.rs index e959c33d..cf1c8a41 100644 --- a/codex-rs/cli/src/bin/logs_client.rs +++ b/codex-rs/cli/src/bin/logs_client.rs @@ -15,7 +15,7 @@ use owo_colors::OwoColorize; #[derive(Debug, Parser)] #[command(name = "codex-state-logs")] -#[command(about = "Tail Codex logs from the dedicated logs SQLite DB with simple filters")] +#[command(about = "Tail aKode logs from the dedicated logs SQLite DB with simple filters")] struct Args { /// Path to CODEX_HOME. Defaults to $CODEX_HOME or ~/.codex. #[arg(long, env = "CODEX_HOME")] diff --git a/codex-rs/cli/src/doctor.rs b/codex-rs/cli/src/doctor.rs index c3698d26..0a1c85f8 100644 --- a/codex-rs/cli/src/doctor.rs +++ b/codex-rs/cli/src/doctor.rs @@ -648,7 +648,7 @@ async fn load_config( .await? .build() .await - .context("failed to load Codex config")?; + .context("failed to load aKode config")?; config.config_layer_stack.ensure_config_server_applied()?; Ok(config) } @@ -967,7 +967,7 @@ fn installation_check(show_details: bool) -> DoctorCheck { status = status.max(CheckStatus::Warning); summary = "npm-managed launch is missing package-root provenance".to_string(); remediation = Some( - "Reinstall or update Codex so the JS shim provides CODEX_MANAGED_PACKAGE_ROOT." + "Reinstall or update aKode so the JS shim provides CODEX_MANAGED_PACKAGE_ROOT." .to_string(), ); } @@ -1302,7 +1302,7 @@ fn auth_check(config: &Config) -> DoctorCheck { "auth.credentials", "auth", CheckStatus::Fail, - "no Codex credentials were found", + "no aKode credentials were found", ) .details(details) .remediation( diff --git a/codex-rs/cli/src/doctor/desktop/macos_security.rs b/codex-rs/cli/src/doctor/desktop/macos_security.rs index ae0a1bf1..ea6f9eba 100644 --- a/codex-rs/cli/src/doctor/desktop/macos_security.rs +++ b/codex-rs/cli/src/doctor/desktop/macos_security.rs @@ -144,7 +144,7 @@ fn enforcement_check(gatekeeper: Evidence, events: Evidence) -> DoctorCheck { ( CheckStatus::Fail, "macos XProtect blocked or remediated the desktop application", - "collect the XProtect detection and ask your security administrator to review the official Codex installation", + "collect the XProtect detection and ask your security administrator to review the official aKode installation", ) } else if gatekeeper == Evidence::Blocked { ( @@ -162,7 +162,7 @@ fn enforcement_check(gatekeeper: Evidence, events: Evidence) -> DoctorCheck { ( CheckStatus::Warning, "macos system-policy diagnostics indicate file descriptor exhaustion", - "restart your Mac, retry Codex once, and contact support if the problem returns", + "restart your Mac, retry aKode once, and contact support if the problem returns", ) } else if events == Evidence::Audit { ( diff --git a/codex-rs/cli/src/doctor/desktop/windows_security.rs b/codex-rs/cli/src/doctor/desktop/windows_security.rs index d54f1b59..9167a494 100644 --- a/codex-rs/cli/src/doctor/desktop/windows_security.rs +++ b/codex-rs/cli/src/doctor/desktop/windows_security.rs @@ -199,15 +199,15 @@ fn classify(channels: &[Option>]) -> DoctorCheck { } let summary = match (status, visible) { (CheckStatus::Ok, _) if channels.contains(&None) => "security event coverage is incomplete", - (CheckStatus::Ok, _) => "no locally visible recent Codex security enforcement was found", + (CheckStatus::Ok, _) => "no locally visible recent aKode security enforcement was found", (CheckStatus::Warning, false) => "security event channels could not be inspected", - (CheckStatus::Warning, true) => "recent Codex security audit or detection requires review", - (CheckStatus::Fail, _) => "endpoint security blocked or quarantined a Codex executable", + (CheckStatus::Warning, true) => "recent aKode security audit or detection requires review", + (CheckStatus::Fail, _) => "endpoint security blocked or quarantined an aKode executable", }; let mut check = desktop_check("desktop.security.enforcement", status, summary).details(details); if status != CheckStatus::Ok { check = check.remediation( - "ask your organization's security administrator to review endpoint security events and the approved Codex application policy", + "ask your organization's security administrator to review endpoint security events and the approved aKode application policy", ); } check diff --git a/codex-rs/cli/src/doctor/filesystem_paths.rs b/codex-rs/cli/src/doctor/filesystem_paths.rs index a95126ce..f9a3a933 100644 --- a/codex-rs/cli/src/doctor/filesystem_paths.rs +++ b/codex-rs/cli/src/doctor/filesystem_paths.rs @@ -108,7 +108,7 @@ pub(super) async fn check(config: &Config) -> DoctorCheck { Err(_) => { check.status = CheckStatus::Warning; check.summary = - "filesystem path probes unavailable: cannot locate Codex executable" + "filesystem path probes unavailable: cannot locate aKode executable" .to_string(); return check; } diff --git a/codex-rs/cli/src/doctor/git.rs b/codex-rs/cli/src/doctor/git.rs index 55739ceb..3927877f 100644 --- a/codex-rs/cli/src/doctor/git.rs +++ b/codex-rs/cli/src/doctor/git.rs @@ -74,7 +74,7 @@ fn git_check_from_inputs(inputs: GitCheckInputs) -> DoctorCheck { "Git repository detected but git executable was not found", ) .expected("git available on PATH") - .remedy("Install Git or fix PATH so Codex can inspect repository metadata.") + .remedy("Install Git or fix PATH so aKode can inspect repository metadata.") .field("selected git"), ); } diff --git a/codex-rs/cli/src/doctor/network.rs b/codex-rs/cli/src/doctor/network.rs index 28ccfac4..4fff7c1f 100644 --- a/codex-rs/cli/src/doctor/network.rs +++ b/codex-rs/cli/src/doctor/network.rs @@ -76,7 +76,7 @@ pub(super) async fn checks( } #[cfg(any(target_os = "macos", test))] -pub(super) const SYSTEM_PROXY_REMEDIATION: &str = "A macOS system proxy is configured but unused. If your organization requires it, ask your administrator whether to enable the experimental System proxy setting in `/experimental` or with `codex features enable respect_system_proxy`. Restart Codex after changing this setting."; +pub(super) const SYSTEM_PROXY_REMEDIATION: &str = "A macOS system proxy is configured but unused. If your organization requires it, ask your administrator whether to enable the experimental System proxy setting in `/experimental` or with `codex features enable respect_system_proxy`. Restart aKode after changing this setting."; pub(super) fn check(config: Option<&Config>) -> DoctorCheck { let mut details = Vec::new(); diff --git a/codex-rs/cli/src/doctor/output.rs b/codex-rs/cli/src/doctor/output.rs index 5445484b..2432af78 100644 --- a/codex-rs/cli/src/doctor/output.rs +++ b/codex-rs/cli/src/doctor/output.rs @@ -79,7 +79,7 @@ pub(super) fn render_human_report(report: &DoctorReport, options: HumanOutputOpt let _ = writeln!( out, "{} {}", - bold("Codex Doctor", options), + bold("aKode Doctor", options), dim(&header_suffix(report), options) ); out.push('\n'); @@ -1354,7 +1354,7 @@ mod tests { let rendered = render_human_report(&sample_report(), detailed_no_color_unicode_options()); let expected = format!( "\ -Codex Doctor v0.0.0 +aKode Doctor v0.0.0 Notes ⚠ terminal narrow terminal @@ -1498,7 +1498,7 @@ Background Server let rendered = render_human_report(&sample_report(), summary_no_color_unicode_options()); let expected = format!( "\ -Codex Doctor v0.0.0 +aKode Doctor v0.0.0 Notes ⚠ terminal narrow terminal @@ -1606,7 +1606,7 @@ Run codex doctor without --summary for detailed diagnostics. ); let expected = format!( "\ -Codex Doctor v0.0.0 +aKode Doctor v0.0.0 Notes [!!] terminal narrow terminal diff --git a/codex-rs/cli/src/doctor/runtime.rs b/codex-rs/cli/src/doctor/runtime.rs index b012a66e..6b74ca86 100644 --- a/codex-rs/cli/src/doctor/runtime.rs +++ b/codex-rs/cli/src/doctor/runtime.rs @@ -99,7 +99,7 @@ pub(super) fn search_check() -> DoctorCheck { }; let mut check = DoctorCheck::new("runtime.search", "search", status, summary).details(details); if status != CheckStatus::Ok { - check = check.remediation("Install ripgrep or repair the bundled Codex package."); + check = check.remediation("Install ripgrep or repair the bundled aKode package."); } check } diff --git a/codex-rs/cli/src/doctor/sandbox.rs b/codex-rs/cli/src/doctor/sandbox.rs index af9af7b5..c43f7f7e 100644 --- a/codex-rs/cli/src/doctor/sandbox.rs +++ b/codex-rs/cli/src/doctor/sandbox.rs @@ -279,7 +279,7 @@ pub(super) fn sandbox_check(config: &Config, arg0_paths: &Arg0DispatchPaths) -> | SetupErrorCode::OrchestratorHelperReportReadFailed | SetupErrorCode::OrchestratorHelperIncomplete | SetupErrorCode::HelperReadAclHelperSpawnFailed => { - "repair the installed Codex helpers or ask IT to allow their execution" + "repair the installed aKode helpers or ask IT to allow their execution" } SetupErrorCode::HelperUserProvisionFailed | SetupErrorCode::HelperUsersGroupCreateFailed @@ -295,19 +295,19 @@ pub(super) fn sandbox_check(config: &Config, arg0_paths: &Arg0DispatchPaths) -> | SetupErrorCode::HelperUsersFileWriteFailed | SetupErrorCode::HelperSetupMarkerWriteFailed | SetupErrorCode::HelperSandboxLockFailed => { - "rerun elevated setup for the authoritative Codex home or ask IT" + "rerun elevated setup for the authoritative aKode home or ask IT" } SetupErrorCode::HelperFirewallComInitFailed | SetupErrorCode::HelperFirewallPolicyAccessFailed | SetupErrorCode::HelperFirewallPolicyIneffective | SetupErrorCode::HelperFirewallRuleCreateOrAddFailed | SetupErrorCode::HelperFirewallRuleVerifyFailed => { - "ask IT to allow Codex sandbox rules in managed Windows Firewall policy" + "ask IT to allow aKode sandbox rules in managed Windows Firewall policy" } SetupErrorCode::OrchestratorPayloadSerializeFailed | SetupErrorCode::HelperRequestArgsFailed | SetupErrorCode::HelperUnknownError => { - "repair or reinstall the Codex CLI from an approved distribution" + "repair or reinstall the aKode CLI from an approved distribution" } }; check diff --git a/codex-rs/cli/src/doctor/security.rs b/codex-rs/cli/src/doctor/security.rs index 64141dd9..ff7fbb0e 100644 --- a/codex-rs/cli/src/doctor/security.rs +++ b/codex-rs/cli/src/doctor/security.rs @@ -76,13 +76,13 @@ pub(super) fn endpoint_check(inspection: EndpointInspection) -> DoctorCheck { "security.endpoint", "security", CheckStatus::Warning, - "endpoint protection detected; Codex exclusions are unverified", + "endpoint protection detected; aKode exclusions are unverified", ) .detail(format!("endpoint products: {}", products.join(", "))) .detail(format!("exclusion targets: {targets}")) - .detail("Codex exclusions: not verified") + .detail("aKode exclusions: not verified") .remediation( - "ask your security administrator to verify Codex exclusions and required helper allowances", + "ask your security administrator to verify aKode exclusions and required helper allowances", ); if visibility_incomplete { check = check.detail("additional endpoint products: unavailable"); @@ -91,33 +91,33 @@ pub(super) fn endpoint_check(inspection: EndpointInspection) -> DoctorCheck { for product in products { let remedy = match product { "CrowdStrike Falcon" => { - "CrowdStrike Falcon: Add a certificate or IOA exclusion for Codex. If sensor overhead continues, exclude the Codex agent from sensor visibility. Keep monitoring descendant processes." + "CrowdStrike Falcon: Add a certificate or IOA exclusion for aKode. If sensor overhead continues, exclude the aKode agent from sensor visibility. Keep monitoring descendant processes." } "BeyondTrust Privilege Management" => { - "BeyondTrust: Remove Codex from application blocking rules. Add allow rules for Codex helper executables. Do not grant administrator privileges." + "BeyondTrust: Remove aKode from application blocking rules. Add allow rules for aKode helper executables. Do not grant administrator privileges." } "Microsoft Defender" => { - "Microsoft Defender: Add a certificate or executable-path exclusion for Codex and its helpers. If Attack Surface Reduction blocks Codex, add a rule exclusion. If Controlled Folder Access blocks Codex, allow the app." + "Microsoft Defender: Add a certificate or executable-path exclusion for aKode and its helpers. If Attack Surface Reduction blocks aKode, add a rule exclusion. If Controlled Folder Access blocks aKode, allow the app." } "SentinelOne" => { - "SentinelOne: Add a signer, file-hash, or executable-path exclusion for Codex and its helpers." + "SentinelOne: Add a signer, file-hash, or executable-path exclusion for aKode and its helpers." } "Jamf Protect" => { - "Jamf Protect: Add an Override Threat Prevention exception for Codex app and helper signing identities. If analytics cause delays, add an Ignore System Events for Analytics exception." + "Jamf Protect: Add an Override Threat Prevention exception for aKode app and helper signing identities. If analytics cause delays, add an Ignore System Events for Analytics exception." } _ => { - "Add an exclusion for Codex and its helpers. Use the endpoint product instructions." + "Add an exclusion for aKode and its helpers. Use the endpoint product instructions." } }; check = check.issue( DoctorIssue::new( CheckStatus::Warning, - format!("{product} can interfere with Codex. Verify Codex exclusions."), + format!("{product} can interfere with aKode. Verify aKode exclusions."), ) .measured("not verified") - .expected("Codex application and helper exclusions") + .expected("aKode application and helper exclusions") .remedy(remedy) - .field("Codex exclusions"), + .field("aKode exclusions"), ); } diff --git a/codex-rs/cli/src/doctor/security_tests.rs b/codex-rs/cli/src/doctor/security_tests.rs index 41aec9bf..0f1ba17d 100644 --- a/codex-rs/cli/src/doctor/security_tests.rs +++ b/codex-rs/cli/src/doctor/security_tests.rs @@ -54,7 +54,7 @@ fn each_endpoint_product_requires_vendor_specific_app_exclusions() { .to_ascii_lowercase(); assert_eq!( remediation, - "ask your security administrator to verify codex exclusions and required helper allowances", + "ask your security administrator to verify akode exclusions and required helper allowances", "{product}" ); assert!( @@ -77,7 +77,7 @@ fn each_endpoint_product_requires_vendor_specific_app_exclusions() { issue.cause ); assert!( - issue.cause.contains("Verify Codex exclusions."), + issue.cause.contains("Verify aKode exclusions."), "{product}: {}", issue.cause ); diff --git a/codex-rs/cli/src/doctor/snapshots/codex__doctor__filesystem_paths__tests__doctor_read_restricted_filesystem_paths.snap b/codex-rs/cli/src/doctor/snapshots/codex__doctor__filesystem_paths__tests__doctor_read_restricted_filesystem_paths.snap index c68f6e6d..4c62e770 100644 --- a/codex-rs/cli/src/doctor/snapshots/codex__doctor__filesystem_paths__tests__doctor_read_restricted_filesystem_paths.snap +++ b/codex-rs/cli/src/doctor/snapshots/codex__doctor__filesystem_paths__tests__doctor_read_restricted_filesystem_paths.snap @@ -2,7 +2,7 @@ source: cli/src/doctor/filesystem_paths_tests.rs expression: "super::super::render_human_report(&report, super::super::HumanOutputOptions\n{ show_details: true, show_all: false, ascii: true, color_enabled: false, },)" --- -Codex Doctor vtest +aKode Doctor vtest Configuration [ok] sandbox configured filesystem paths listed; read restrictions prevent probes diff --git a/codex-rs/cli/src/doctor/snapshots/codex__doctor__git__tests__reports_git_candidates_and_repo_metadata.snap b/codex-rs/cli/src/doctor/snapshots/codex__doctor__git__tests__reports_git_candidates_and_repo_metadata.snap index 16f810ed..49442861 100644 --- a/codex-rs/cli/src/doctor/snapshots/codex__doctor__git__tests__reports_git_candidates_and_repo_metadata.snap +++ b/codex-rs/cli/src/doctor/snapshots/codex__doctor__git__tests__reports_git_candidates_and_repo_metadata.snap @@ -3,7 +3,7 @@ source: cli/src/doctor/git.rs assertion_line: 150 expression: "super::super::render_human_report(&report, super::super::HumanOutputOptions\n{ show_details: true, show_all: false, ascii: true, color_enabled: false, },)" --- -Codex Doctor vtest +aKode Doctor vtest Environment [ok] git git executable found; execution not verified diff --git a/codex-rs/cli/src/doctor/snapshots/codex__doctor__output__tests__doctor_human_report_environment_rows.snap b/codex-rs/cli/src/doctor/snapshots/codex__doctor__output__tests__doctor_human_report_environment_rows.snap index 38a773a2..d991d4f4 100644 --- a/codex-rs/cli/src/doctor/snapshots/codex__doctor__output__tests__doctor_human_report_environment_rows.snap +++ b/codex-rs/cli/src/doctor/snapshots/codex__doctor__output__tests__doctor_human_report_environment_rows.snap @@ -2,15 +2,15 @@ source: cli/src/doctor/output.rs expression: "render_human_report(&report, detailed_no_color_unicode_options())" --- -Codex Doctor v0.0.0 +aKode Doctor v0.0.0 Notes ↑ desktop build 123 available (ready to install) ⚠ terminal narrow terminal ✗ auth token expired - Run `codex login`. - ✗ network provider is unreachable - A macOS system proxy is configured but unused. If your organization requires it, ask your administrator whether to enable the experimental System proxy setting in `/experimental` or with `codex features enable respect_system_proxy`. Restart Codex after changing this setting. + ✗ network provider is unreachable - A macOS system proxy is configured but unused. If your organization requires it, ask your administrator whether to enable the experimental System proxy setting in `/experimental` or with `codex features enable respect_system_proxy`. Restart aKode after changing this setting. ⚠ git this worktree is not on a Windows Dev Drive - create a trusted Windows Dev Drive: https://learn.microsoft.com/en-us/windows/dev-drive/ - ⚠ security Microsoft Defender can interfere with Codex. Verify Codex exclusions. + ⚠ security Microsoft Defender can interfere with aKode. Verify aKode exclusions. ───────────────────────────────────────────────────────────── Environment @@ -24,11 +24,11 @@ Environment GH_PAGER less LESS -FRX ✓ disk sufficient free disk space (42.0 GiB) - ⚠ security Microsoft Defender can interfere with Codex. Verify Codex exclusions. + ⚠ security Microsoft Defender can interfere with aKode. Verify aKode exclusions. endpoint products Microsoft Defender exclusion targets verified Codex app and required helpers - ▸ Codex exclusions not verified (expected Codex application and helper exclusions) - → Microsoft Defender: Add a certificate or executable-path exclusion for Codex and its helpers. If Attack Surface Reduction blocks Codex, add a rule exclusion. If Controlled Folder Access blocks Codex, allow the app. + ▸ aKode exclusions not verified (expected aKode application and helper exclusions) + → Microsoft Defender: Add a certificate or executable-path exclusion for aKode and its helpers. If Attack Surface Reduction blocks aKode, add a rule exclusion. If Controlled Folder Access blocks aKode, allow the app. ✓ runtime running local build on darwin-arm64 ✓ install consistent managed by npm: no · bun: no · pnpm: no · Vite+: no · package root — @@ -66,7 +66,7 @@ Updates Connectivity ✓ network network environment readable - ✗ network provider is unreachable — A macOS system proxy is configured but unused. If your organization requires it, ask your administrator whether to enable the experimental System proxy setting in `/experimental` or with `codex features enable respect_system_proxy`. Restart Codex after changing this setting. + ✗ network provider is unreachable — A macOS system proxy is configured but unused. If your organization requires it, ask your administrator whether to enable the experimental System proxy setting in `/experimental` or with `codex features enable respect_system_proxy`. Restart aKode after changing this setting. ✓ websocket Responses WebSocket handshake succeeded ✓ reachability active provider endpoints are reachable over HTTP diff --git a/codex-rs/cli/src/doctor/snapshots/codex__doctor__output__tests__missing_env_diagnostics.snap b/codex-rs/cli/src/doctor/snapshots/codex__doctor__output__tests__missing_env_diagnostics.snap index 6077a182..513df537 100644 --- a/codex-rs/cli/src/doctor/snapshots/codex__doctor__output__tests__missing_env_diagnostics.snap +++ b/codex-rs/cli/src/doctor/snapshots/codex__doctor__output__tests__missing_env_diagnostics.snap @@ -2,7 +2,7 @@ source: cli/src/doctor/output.rs expression: "render_human_report(&report, detailed_all_no_color_unicode_options())" --- -Codex Doctor v0.0.0 +aKode Doctor v0.0.0 Notes ⚠ mcp missing inputs diff --git a/codex-rs/cli/src/doctor/thread_inventory.rs b/codex-rs/cli/src/doctor/thread_inventory.rs index 46bd3bbf..14279d27 100644 --- a/codex-rs/cli/src/doctor/thread_inventory.rs +++ b/codex-rs/cli/src/doctor/thread_inventory.rs @@ -192,10 +192,10 @@ fn missing_state_db_check(scan: RolloutScan, details: Vec) -> DoctorChec ) .measured(format!("{} rollout files", scan.files.len())) .expected("state DB contains matching thread rows") - .remedy("Start Codex with no state DB present so startup backfill can create it from rollout files."), + .remedy("Start aKode with no state DB present so startup backfill can create it from rollout files."), ) .remediation( - "Start Codex with no state DB present so startup backfill can create it from rollout files.", + "Start aKode with no state DB present so startup backfill can create it from rollout files.", ); } if !scan.scan_errors.is_empty() || !scan.malformed_names.is_empty() || scan.reached_scan_cap { diff --git a/codex-rs/cli/src/main.rs b/codex-rs/cli/src/main.rs index a6fdfd14..bbb5a6d9 100644 --- a/codex-rs/cli/src/main.rs +++ b/codex-rs/cli/src/main.rs @@ -90,11 +90,12 @@ use codex_protocol::protocol::AskForApproval; use codex_protocol::user_input::UserInput; use codex_terminal_detection::TerminalName; -/// Codex CLI +/// aKode CLI /// /// If no subcommand is specified, options will be forwarded to the interactive CLI. #[derive(Debug, Parser)] #[clap( + name = "akode", author, version, // If a sub‑command is given, ignore requirements of the default args. @@ -130,7 +131,7 @@ enum Subcommand { /// Internal: forward a local TCP socket through an HTTP/3 CONNECT proxy. #[clap(hide = true)] TcpTunnel(codex_tcp_tunnel::Args), - /// Run Codex non-interactively. + /// Run aKode non-interactively. #[clap(visible_alias = "e")] Exec(ExecCli), @@ -143,10 +144,10 @@ enum Subcommand { /// Remove stored authentication credentials. Logout(LogoutCommand), - /// Manage external MCP servers for Codex. + /// Manage external MCP servers for aKode. Mcp(McpCli), - /// Manage Codex plugins. + /// Manage aKode plugins. Plugin(PluginCli), /// [experimental] Run the app server or related tooling. @@ -155,13 +156,13 @@ enum Subcommand { /// Generate shell completion scripts. Completion(CompletionCommand), - /// Update Codex to the latest version. + /// Update aKode to the latest version. Update, - /// Diagnose local Codex installation, config, auth, and runtime health. + /// Diagnose local aKode installation, config, auth, and runtime health. Doctor(DoctorCommand), - /// Run commands within a Codex-provided sandbox. + /// Run commands within an aKode-provided sandbox. Sandbox(SandboxCommand), /// Debugging tools. @@ -277,7 +278,7 @@ struct DebugModelsCommand { #[derive(Debug, Parser)] struct ReviewCommand { - /// Error out when config.toml contains fields that are not recognized by this version of Codex. + /// Error out when config.toml contains fields that are not recognized by this version of aKode. #[arg(long = "strict-config", default_value_t = false)] strict_config: bool, @@ -362,7 +363,7 @@ struct SessionArchiveConfigOverrides { #[clap(flatten)] shared: SharedCliOptions, - /// Error out when config.toml contains fields that are not recognized by this version of Codex. + /// Error out when config.toml contains fields that are not recognized by this version of aKode. #[arg(long = "strict-config", default_value_t = false)] strict_config: bool, @@ -529,7 +530,7 @@ struct AppServerCommand { #[command(flatten)] code_mode_host: codex_app_server::AppServerCodeModeHostArgs, - /// Error out when config.toml contains fields that are not recognized by this version of Codex. + /// Error out when config.toml contains fields that are not recognized by this version of aKode. #[arg(long = "strict-config", default_value_t = false)] strict_config: bool, @@ -716,7 +717,7 @@ fn run_update_action( ) -> anyhow::Result<()> { if let UpdateAction::Daemon(source) = action { let executable = cli_executable - .ok_or_else(|| anyhow::anyhow!("Cannot locate the launching Codex CLI"))?; + .ok_or_else(|| anyhow::anyhow!("Cannot locate the launching aKode CLI"))?; println!("Updating the local background server..."); let status = std::process::Command::new(executable) .args(source.command_args()) @@ -725,12 +726,12 @@ fn run_update_action( status.success(), "Daemon update failed with status {status}" ); - println!("Relaunch Codex to reconnect."); + println!("Relaunch aKode to reconnect."); return Ok(()); } println!(); let cmd_str = action.command_str(); - println!("Updating Codex via `{cmd_str}`..."); + println!("Updating aKode via `{cmd_str}`..."); let status = { #[cfg(windows)] { @@ -774,7 +775,7 @@ fn run_update_action( if !status.success() { anyhow::bail!("`{cmd_str}` failed with status {status}"); } - println!("\n🎉 Update ran successfully! Please restart Codex."); + println!("\n🎉 Update ran successfully! Please restart aKode."); Ok(()) } @@ -799,7 +800,7 @@ fn run_update_command() -> anyhow::Result<()> { #[cfg(debug_assertions)] { anyhow::bail!( - "`codex update` is not available in debug builds. Install a release build of Codex to use this command." + "`codex update` is not available in debug builds. Install a release build of aKode to use this command." ); } @@ -807,7 +808,7 @@ fn run_update_command() -> anyhow::Result<()> { { let Some(action) = codex_tui::get_update_action() else { anyhow::bail!( - "Could not detect the Codex installation method. Please update manually: https://developers.openai.com/codex/cli/" + "Could not detect the aKode installation method. Please update manually: https://developers.openai.com/codex/cli/" ); }; run_update_action(action, /*cli_executable*/ None) @@ -2288,7 +2289,7 @@ async fn run_interactive_tui( } eprintln!( - "WARNING: TERM is set to \"dumb\". Codex's interactive TUI may not work in this terminal." + "WARNING: TERM is set to \"dumb\". aKode's interactive TUI may not work in this terminal." ); if !confirm("Continue anyway? [y/N]: ")? { return Ok(AppExitInfo::fatal( @@ -2369,7 +2370,7 @@ where Err(backup_err) => { local_state_db::print_diagnostic_guidance(startup_error); return Ok(AppExitInfo::fatal(format!( - "failed to move damaged Codex local database files into a backup folder automatically: {backup_err}" + "failed to move damaged aKode local database files into a backup folder automatically: {backup_err}" ))); } } diff --git a/codex-rs/cli/src/marketplace_cmd.rs b/codex-rs/cli/src/marketplace_cmd.rs index 747f73ae..f994434e 100644 --- a/codex-rs/cli/src/marketplace_cmd.rs +++ b/codex-rs/cli/src/marketplace_cmd.rs @@ -45,7 +45,7 @@ enum MarketplaceSubcommand { /// Add a local or Git marketplace to the configured marketplace sources. Add(AddMarketplaceArgs), - /// List plugin marketplaces Codex is currently considering and their roots. + /// List plugin marketplaces aKode is currently considering and their roots. List(ListMarketplaceArgs), /// Refresh configured Git marketplace snapshots. diff --git a/codex-rs/cli/src/migrate_nfs_db.rs b/codex-rs/cli/src/migrate_nfs_db.rs index 23bb0d11..8d984491 100644 --- a/codex-rs/cli/src/migrate_nfs_db.rs +++ b/codex-rs/cli/src/migrate_nfs_db.rs @@ -40,7 +40,7 @@ pub(crate) async fn run( eprintln!("{warning}"); } eprintln!( - "Stop all Codex instances on every host that uses these databases.\nKeep them stopped until the migration completes successfully." + "Stop all aKode instances on every host that uses these databases.\nKeep them stopped until the migration completes successfully." ); let config = ConfigBuilder::default() .cli_overrides( @@ -92,7 +92,7 @@ pub(crate) async fn run( continue; } let outcome = migration.migrate(&database.path, &command.staging_dir).await.with_context(|| format!( - "migration failed for {}. Keep all Codex instances stopped. Correct the error and rerun codex migrate-nfs-db", + "migration failed for {}. Keep all aKode instances stopped. Correct the error and rerun codex migrate-nfs-db", database.path.display() ))?; match outcome { @@ -112,6 +112,6 @@ pub(crate) async fn run( println!("No databases found."); return Ok(()); } - println!("Migration completed successfully. You can restart Codex."); + println!("Migration completed successfully. You can restart aKode."); Ok(()) } diff --git a/codex-rs/cli/src/sandbox_setup.rs b/codex-rs/cli/src/sandbox_setup.rs index ba89d4c3..de01cf99 100644 --- a/codex-rs/cli/src/sandbox_setup.rs +++ b/codex-rs/cli/src/sandbox_setup.rs @@ -21,7 +21,7 @@ pub(crate) struct SandboxSetupCommand { #[arg(long = "elevated", action = ArgAction::SetTrue)] elevated_sandbox_level: bool, - /// Windows user that will run Codex after managed deployment. + /// Windows user that will run aKode after managed deployment. #[arg( long = "user", value_name = "USER", @@ -30,7 +30,7 @@ pub(crate) struct SandboxSetupCommand { )] user: Option, - /// Use the current Windows user as the Codex user. + /// Use the current Windows user as the aKode user. #[arg( long = "current-user", default_value_t = false, @@ -38,7 +38,7 @@ pub(crate) struct SandboxSetupCommand { )] current_user: bool, - /// CODEX_HOME for the Codex user. Required with --user. + /// CODEX_HOME for the aKode user. Required with --user. #[arg(long = "codex-home", value_name = "DIR")] codex_home: Option, } @@ -99,7 +99,7 @@ async fn run_elevated( .cli_overrides(cli_overrides) .build() .await - .context("failed to load target user's Codex config for sandbox provisioning")?; + .context("failed to load target user's aKode config for sandbox provisioning")?; codex_core::windows_sandbox::run_elevated_provisioning_setup( identity.codex_home.as_path(), diff --git a/codex-rs/cli/src/sandbox_uninstall.rs b/codex-rs/cli/src/sandbox_uninstall.rs index 49bc946f..b638e821 100644 --- a/codex-rs/cli/src/sandbox_uninstall.rs +++ b/codex-rs/cli/src/sandbox_uninstall.rs @@ -5,7 +5,7 @@ use clap::Args; #[derive(Debug, Args)] #[command( about = "Remove the legacy Windows sandbox's machine-wide accounts and network rules", - after_help = "Run as administrator after stopping apps using the legacy sandbox and its provisioning service, if installed.\nPreserves Codex home, including sandbox directories and filesystem permissions." + after_help = "Run as administrator after stopping apps using the legacy sandbox and its provisioning service, if installed.\nPreserves aKode home, including sandbox directories and filesystem permissions." )] pub(crate) struct SandboxUninstallCommand {} diff --git a/codex-rs/cli/src/snapshots/codex__doctor__tests__doctor_dumb_non_interactive_human.snap b/codex-rs/cli/src/snapshots/codex__doctor__tests__doctor_dumb_non_interactive_human.snap index 4974e495..6b967a40 100644 --- a/codex-rs/cli/src/snapshots/codex__doctor__tests__doctor_dumb_non_interactive_human.snap +++ b/codex-rs/cli/src/snapshots/codex__doctor__tests__doctor_dumb_non_interactive_human.snap @@ -2,7 +2,7 @@ source: cli/src/doctor.rs expression: "render_human_report(&report, HumanOutputOptions\n{ show_details: true, show_all: true, ascii: true, color_enabled: false, })" --- -Codex Doctor v0.0.0 +aKode Doctor v0.0.0 Notes [!!] terminal TERM=dumb - colors and cursor control are disabled in this non-interactive run diff --git a/codex-rs/cli/src/snapshots/codex__doctor__tests__terminal_check_prioritizes_unreadable_terminfo_over_warnings.snap b/codex-rs/cli/src/snapshots/codex__doctor__tests__terminal_check_prioritizes_unreadable_terminfo_over_warnings.snap index 3e21aaa6..c313050d 100644 --- a/codex-rs/cli/src/snapshots/codex__doctor__tests__terminal_check_prioritizes_unreadable_terminfo_over_warnings.snap +++ b/codex-rs/cli/src/snapshots/codex__doctor__tests__terminal_check_prioritizes_unreadable_terminfo_over_warnings.snap @@ -2,7 +2,7 @@ source: cli/src/doctor.rs expression: "render_human_report(&DoctorReport\n{\n schema_version: 1, generated_at: \"0s since unix epoch\".to_string(),\n overall_status: check.status, codex_version: \"0.0.0\".to_string(), checks:\n vec![check],\n}, HumanOutputOptions\n{ show_details: false, show_all: false, ascii: true, color_enabled: false, })" --- -Codex Doctor v0.0.0 +aKode Doctor v0.0.0 Notes [XX] terminal 3 issues - TERMINFO unreadable - terminal capabilities are unknown; TERM=dumb - colors and cursor control are disabled in this non-interactive run diff --git a/codex-rs/cli/src/snapshots/codex__doctor__tests__websocket_probe_human_output.snap b/codex-rs/cli/src/snapshots/codex__doctor__tests__websocket_probe_human_output.snap index 06b5cae1..7fedfbf4 100644 --- a/codex-rs/cli/src/snapshots/codex__doctor__tests__websocket_probe_human_output.snap +++ b/codex-rs/cli/src/snapshots/codex__doctor__tests__websocket_probe_human_output.snap @@ -3,7 +3,7 @@ source: cli/src/doctor.rs expression: rendered --- successful handshake -Codex Doctor v0.0.0 +aKode Doctor v0.0.0 Connectivity [ok] network network environment is readable @@ -22,7 +22,7 @@ Connectivity --json redacted report immediate close -Codex Doctor v0.0.0 +aKode Doctor v0.0.0 Notes [!!] websocket Responses WebSocket closed immediately after handshake - Check proxy, VPN, firewall, DNS, custom CA, and WebSocket policy support. @@ -45,7 +45,7 @@ Connectivity --json redacted report stream failure -Codex Doctor v0.0.0 +aKode Doctor v0.0.0 Notes [!!] websocket Responses WebSocket failed; HTTPS fallback may still work - Check proxy, VPN, firewall, DNS, custom CA, and WebSocket policy support. diff --git a/codex-rs/cli/src/state_db_recovery.rs b/codex-rs/cli/src/state_db_recovery.rs index 5549f429..afb498c8 100644 --- a/codex-rs/cli/src/state_db_recovery.rs +++ b/codex-rs/cli/src/state_db_recovery.rs @@ -30,8 +30,8 @@ fn sqlite_home_is_blocking_file(startup_error: &LocalStateDbStartupError) -> boo } pub(crate) fn print_auto_backup_start(startup_error: &LocalStateDbStartupError) { - eprintln!("Codex couldn't start because its local database appears to be damaged."); - eprintln!("Moving the damaged local database aside so Codex can rebuild it from saved data."); + eprintln!("aKode couldn't start because its local database appears to be damaged."); + eprintln!("Moving the damaged local database aside so aKode can rebuild it from saved data."); print_technical_details(startup_error); } @@ -45,9 +45,9 @@ pub(crate) fn confirm_fresh_start_rebuild( startup_error: &LocalStateDbStartupError, backups: &[RuntimeDbBackup], ) -> std::io::Result<()> { - eprintln!("Codex rebuilt its local database."); + eprintln!("aKode rebuilt its local database."); eprintln!( - "Codex detected a damaged local database, moved it into a backup folder, and will continue startup with a fresh database." + "aKode detected a damaged local database, moved it into a backup folder, and will continue startup with a fresh database." ); eprintln!("Database path: {}", startup_error.database_path().display()); if let Some(backup_folder) = backup_folder(backups) { @@ -67,15 +67,15 @@ pub(crate) fn confirm_fresh_start_rebuild( } pub(crate) fn print_diagnostic_guidance(startup_error: &LocalStateDbStartupError) { - eprintln!("Codex couldn't start because its local database appears to be damaged."); + eprintln!("aKode couldn't start because its local database appears to be damaged."); eprintln!("Run `codex doctor` to check your setup and get next-step guidance."); eprintln!("If this keeps happening, share the technical details below when asking for help."); print_technical_details(startup_error); } pub(crate) fn print_locked_guidance(startup_error: &LocalStateDbStartupError) { - eprintln!("Codex couldn't start because another Codex process is using its local data."); - eprintln!("Quit any other copies of Codex that may still be running, then try again."); + eprintln!("aKode couldn't start because another aKode process is using its local data."); + eprintln!("Quit any other copies of aKode that may still be running, then try again."); print_technical_details(startup_error); } diff --git a/codex-rs/cli/tests/migrate_nfs_db.rs b/codex-rs/cli/tests/migrate_nfs_db.rs index d0778808..44b69989 100644 --- a/codex-rs/cli/tests/migrate_nfs_db.rs +++ b/codex-rs/cli/tests/migrate_nfs_db.rs @@ -91,7 +91,7 @@ async fn migration_requires_consent_and_preserves_shared_database_mode() -> Resu .find(|line| line.starts_with("Error: migration failed")) .unwrap() .replace(home.path().to_str().unwrap(), "[HOME]"), - @"Error: migration failed for [HOME]/logs_2.sqlite. Keep all Codex instances stopped. Correct the error and rerun codex migrate-nfs-db" + @"Error: migration failed for [HOME]/logs_2.sqlite. Keep all aKode instances stopped. Correct the error and rerun codex migrate-nfs-db" ); assert_eq!( std::fs::read(sqlite.logs_db_path())?, diff --git a/codex-rs/cli/tests/snapshots/doctor_enterprise_network__network_only_config_failure_human_output.snap b/codex-rs/cli/tests/snapshots/doctor_enterprise_network__network_only_config_failure_human_output.snap index f2a7e97d..693e33e0 100644 --- a/codex-rs/cli/tests/snapshots/doctor_enterprise_network__network_only_config_failure_human_output.snap +++ b/codex-rs/cli/tests/snapshots/doctor_enterprise_network__network_only_config_failure_human_output.snap @@ -2,7 +2,7 @@ source: cli/tests/doctor_enterprise_network.rs expression: stdout --- -Codex Doctor v0.0.0 +aKode Doctor v0.1.0 Notes [XX] config config could not be loaded - Fix the reported config error, then rerun codex doctor. diff --git a/codex-rs/cli/tests/snapshots/doctor_enterprise_network__network_only_human_output.snap b/codex-rs/cli/tests/snapshots/doctor_enterprise_network__network_only_human_output.snap index 996f43b9..ba1a03c6 100644 --- a/codex-rs/cli/tests/snapshots/doctor_enterprise_network__network_only_human_output.snap +++ b/codex-rs/cli/tests/snapshots/doctor_enterprise_network__network_only_human_output.snap @@ -2,7 +2,7 @@ source: cli/tests/doctor_enterprise_network.rs expression: stdout --- -Codex Doctor v0.0.0 +aKode Doctor v0.1.0 Configuration [ok] config loaded diff --git a/codex-rs/cli/tests/snapshots/doctor_path_safety__doctor_config_invalid_data.snap.new b/codex-rs/cli/tests/snapshots/doctor_path_safety__doctor_config_invalid_data.snap.new new file mode 100644 index 00000000..ca5ab0a6 --- /dev/null +++ b/codex-rs/cli/tests/snapshots/doctor_path_safety__doctor_config_invalid_data.snap.new @@ -0,0 +1,18 @@ +--- +source: cli/tests/doctor_path_safety.rs +assertion_line: 412 +expression: "serde_json::to_string_pretty(&check)?" +--- +{ + "category": "config", + "details": { + "column": "16", + "error": "invalid configuration", + "file": "FIXTURE/home/config.toml", + "line": "9" + }, + "id": "config.load", + "remediation": "Fix the reported config error, then rerun codex doctor.", + "status": "fail", + "summary": "config could not be loaded" +} diff --git a/codex-rs/cli/tests/snapshots/features__mcp_list_reports_invalid_keybinding_reason.snap.new b/codex-rs/cli/tests/snapshots/features__mcp_list_reports_invalid_keybinding_reason.snap.new new file mode 100644 index 00000000..99673865 --- /dev/null +++ b/codex-rs/cli/tests/snapshots/features__mcp_list_reports_invalid_keybinding_reason.snap.new @@ -0,0 +1,13 @@ +--- +source: cli/tests/features.rs +assertion_line: 52 +expression: output +--- +Error: failed to load configuration + +Caused by: + 0: /private/var/folders/6k/c34nw11j2d75r8lqh1hzfz6w0000gn/T/.tmpq6XL7K/config.toml:2:18: unknown key `backslash` in keybinding `backslash`. Use a printable character (for example `a`), function keys (`f1`-`f24`), or one of: enter, tab, backspace, esc, delete, arrows, home/end, page-up/page-down, space, minus. + See the Codex keymap documentation for supported actions and examples. + 1: unknown key `backslash` in keybinding `backslash`. Use a printable character (for example `a`), function keys (`f1`-`f24`), or one of: enter, tab, backspace, esc, delete, arrows, home/end, page-up/page-down, space, minus. + See the Codex keymap documentation for supported actions and examples. + in `tui.keymap.editor.insert_newline` diff --git a/codex-rs/exec/src/cli.rs b/codex-rs/exec/src/cli.rs index eb0f3750..484a4759 100644 --- a/codex-rs/exec/src/cli.rs +++ b/codex-rs/exec/src/cli.rs @@ -17,7 +17,7 @@ pub struct Cli { #[command(subcommand)] pub command: Option, - /// Error out when config.toml contains fields that are not recognized by this version of Codex. + /// Error out when config.toml contains fields that are not recognized by this version of aKode. #[arg(long = "strict-config", global = true, default_value_t = false)] pub strict_config: bool, @@ -28,7 +28,7 @@ pub struct Cli { #[arg(long = "thread-source", value_name = "SOURCE", global = true)] pub thread_source: Option, - /// Allow running Codex outside a Git repository. + /// Allow running aKode outside a Git repository. #[arg(long = "skip-git-repo-check", global = true, default_value_t = false)] pub skip_git_repo_check: bool, diff --git a/codex-rs/exec/src/event_processor_with_human_output.rs b/codex-rs/exec/src/event_processor_with_human_output.rs index 9fcfe978..0398316e 100644 --- a/codex-rs/exec/src/event_processor_with_human_output.rs +++ b/codex-rs/exec/src/event_processor_with_human_output.rs @@ -219,7 +219,7 @@ impl EventProcessor for EventProcessorWithHumanOutput { session_configured_event: &SessionConfiguredEvent, ) { const VERSION: &str = env!("CARGO_PKG_VERSION"); - eprintln!("OpenAI Codex v{VERSION}\n--------"); + eprintln!("aKode v{VERSION}\n--------"); for (key, value) in config_summary_entries(config, session_configured_event) { eprintln!("{} {}", format!("{key}:").style(self.bold), value); } diff --git a/codex-rs/tui/src/app.rs b/codex-rs/tui/src/app.rs index 4b3b204f..3cb86152 100644 --- a/codex-rs/tui/src/app.rs +++ b/codex-rs/tui/src/app.rs @@ -929,13 +929,6 @@ impl App { { return Ok(AppRunControl::Continue); } - // Resume arrives after suspension; retain the last painted phase across hidden owners. - if matches!(&event, TuiEvent::Resume) || !tui.is_owned_screen() || self.overlay.is_some() { - self.chat_widget - .empty_state_animation - .borrow_mut() - .pause_clock(); - } let transcript_owns_input = match (&event, &self.overlay) { (TuiEvent::Key(key), Some(Overlay::Transcript(overlay))) => { overlay.owns_interaction_key(*key) @@ -1384,10 +1377,6 @@ impl App { return self.render_owned_transcript(tui, screen_size); } self.prepare_frame_images(); - self.chat_widget - .empty_state_animation - .borrow_mut() - .pause_clock(); self.chat_widget.sync_warnings(&self.transcript_cells); let dashboard_visible = self .chat_widget diff --git a/codex-rs/tui/src/app/agents_overview_new.rs b/codex-rs/tui/src/app/agents_overview_new.rs index aa926e2d..9273f7ef 100644 --- a/codex-rs/tui/src/app/agents_overview_new.rs +++ b/codex-rs/tui/src/app/agents_overview_new.rs @@ -184,10 +184,10 @@ impl App { ); if !matches!(self.app_server_target, AppServerTarget::Embedded) { message.push_str( - " If the server restarts, Codex will reconnect automatically.", + " If the server restarts, aKode will reconnect automatically.", ); } - (Some("Codex's background server is shutting down"), message) + (Some("aKode's background server is shutting down"), message) } else { (None, format!("Failed to start session: {error}")) }; diff --git a/codex-rs/tui/src/app/agents_overview_tests.rs b/codex-rs/tui/src/app/agents_overview_tests.rs index 8b9f3148..30ca4adb 100644 --- a/codex-rs/tui/src/app/agents_overview_tests.rs +++ b/codex-rs/tui/src/app/agents_overview_tests.rs @@ -112,7 +112,7 @@ async fn server_version_overview_notice_updates_and_clears() { let view = app.agents_overview_view(Vec::new(), /*selected_thread_id*/ None); app.chat_widget.show_bottom_pane_view(Box::new(view)); let rendered = render_bottom_popup(&app.chat_widget, /*width*/ 80); - insta::assert_snapshot!(rendered.lines().last().unwrap(), @" Service v0.151.0 < Codex CLI v0.153.0"); + insta::assert_snapshot!(rendered.lines().last().unwrap(), @" Service v0.151.0 < aKode CLI v0.153.0"); app.update_server_version_overview_notice("0.153.0", /*server_version*/ None); let view = app.agents_overview_view(Vec::new(), /*selected_thread_id*/ None); diff --git a/codex-rs/tui/src/app/config_panel.rs b/codex-rs/tui/src/app/config_panel.rs index 1e000cb0..66f18b7e 100644 --- a/codex-rs/tui/src/app/config_panel.rs +++ b/codex-rs/tui/src/app/config_panel.rs @@ -160,7 +160,7 @@ impl App { return; } self.config_notification_test_pending = None; - let notice = if !tui.notify_test("Codex notification test") { + let notice = if !tui.notify_test("aKode notification test") { "Could not send test · check terminal connection" } else if codex_terminal_detection::terminal_info().name == codex_terminal_detection::TerminalName::Ghostty diff --git a/codex-rs/tui/src/app/config_persistence.rs b/codex-rs/tui/src/app/config_persistence.rs index 724f1d75..ce61391e 100644 --- a/codex-rs/tui/src/app/config_persistence.rs +++ b/codex-rs/tui/src/app/config_persistence.rs @@ -522,7 +522,7 @@ impl App { "failed to refresh effective config after an overridden write" ); self.chat_widget.add_error_message(format!( - "{setting} were saved, but Codex could not refresh the effective config: {err}" + "{setting} were saved, but aKode could not refresh the effective config: {err}" )); None } diff --git a/codex-rs/tui/src/app/daemon_menu.rs b/codex-rs/tui/src/app/daemon_menu.rs index 920f1485..ccd32224 100644 --- a/codex-rs/tui/src/app/daemon_menu.rs +++ b/codex-rs/tui/src/app/daemon_menu.rs @@ -58,7 +58,7 @@ impl App { "Manage this server on its host. Local daemon updates are unavailable for remote connections.", ) } else if self.daemon_cli_executable.is_none() { - Some("Run the Codex CLI to manage the daemon from this menu.") + Some("Run the aKode CLI to manage the daemon from this menu.") } else { None }; @@ -111,7 +111,7 @@ impl App { .as_ref() .filter(|connection| connection.is_local_daemon && !connection.is_managed_daemon) .map(|_| { - "Codex hasn't verified it manages this server. Restart it where it was started." + "aKode hasn't verified it manages this server. Restart it where it was started." .to_string() }), actions: vec![Box::new(|tx| tx.send(AppEvent::ConfirmDaemonRestart))], @@ -139,7 +139,7 @@ impl App { header: Box::new(DaemonMenuHeader(vec![ Line::from("Restart background server?".bold()), Line::from("Active or queued work in other chats may be interrupted."), - Line::from("Codex will reconnect automatically."), + Line::from("aKode will reconnect automatically."), ])), items: vec![ SelectionItem { @@ -179,7 +179,7 @@ impl App { } }; explanation.push_str("\nThis may restart the daemon and interrupt active or queued work.\nCodex exits to update in this terminal. Relaunch it afterward."); - let mut header = vec![Line::from("Update daemon and exit Codex?".bold())]; + let mut header = vec![Line::from("Update daemon and exit aKode?".bold())]; header.extend(explanation.lines().map(|line| Line::from(line.to_owned()))); self.chat_widget.show_selection_view(SelectionViewParams { header: Box::new(DaemonMenuHeader(header)), diff --git a/codex-rs/tui/src/app/daemon_menu_tests.rs b/codex-rs/tui/src/app/daemon_menu_tests.rs index 04984950..8248c4c4 100644 --- a/codex-rs/tui/src/app/daemon_menu_tests.rs +++ b/codex-rs/tui/src/app/daemon_menu_tests.rs @@ -27,7 +27,7 @@ async fn daemon_version_notice_preserves_manual_update_guidance() { assert_eq!( app.initialize_server_version_notice(client, Some(server)), Some(format!( - "A background Codex service is running v{server}, {comparison} your Codex CLI v{client}." + "A background aKode service is running v{server}, {comparison} your aKode CLI v{client}." )) ); let overview = render_bottom_popup(&app.chat_widget, /*width*/ 100); @@ -56,9 +56,9 @@ async fn daemon_version_notice_preserves_manual_update_guidance() { ); } insta::assert_snapshot!(notices.join("\n"), @" - Service v0.155.0-alpha.22 < Codex CLI v0.155.0-alpha.23 · /daemon - Service v0.156.0 ≠ Codex CLI v0.155.0-alpha.23 · /daemon - Service v0.156.0 ≠ Codex CLI v0.0.0 · /daemon + Service v0.155.0-alpha.22 < aKode CLI v0.155.0-alpha.23 · /daemon + Service v0.156.0 ≠ aKode CLI v0.155.0-alpha.23 · /daemon + Service v0.156.0 ≠ aKode CLI v0.0.0 · /daemon "); } @@ -89,7 +89,7 @@ async fn daemon_menu_is_read_only_and_confirmation_can_cancel_or_handoff() { let view = app.agents_overview_view(Vec::new(), /*selected_thread_id*/ None); app.chat_widget.show_bottom_pane_view(Box::new(view)); let overview = render_bottom_popup(&app.chat_widget, /*width*/ 80); - insta::assert_snapshot!(overview.lines().find(|line| line.contains("Service v")).unwrap().trim(), @"Service v0.153.0 < Codex CLI v0.154.0 · /daemon"); + insta::assert_snapshot!(overview.lines().find(|line| line.contains("Service v")).unwrap().trim(), @"Service v0.153.0 < aKode CLI v0.154.0 · /daemon"); let executable = app.daemon_cli_executable.clone(); for (width, source, snapshot) in [ ( diff --git a/codex-rs/tui/src/app/empty_state_animation_tests.rs b/codex-rs/tui/src/app/empty_state_animation_tests.rs index dd82f43d..3bf0dfb3 100644 --- a/codex-rs/tui/src/app/empty_state_animation_tests.rs +++ b/codex-rs/tui/src/app/empty_state_animation_tests.rs @@ -5,12 +5,11 @@ use super::*; use pretty_assertions::assert_eq; use ratatui::buffer::Buffer; -fn has_blossom(tui: &tui::Tui) -> bool { +fn has_splash(tui: &tui::Tui) -> bool { text(crate::custom_terminal::test_support::last_rendered_buffer( &tui.terminal, )) - .chars() - .any(|ch| ('\u{2801}'..='\u{28ff}').contains(&ch)) + .contains(crate::branding::WELCOME_LINE) } fn text(buffer: &Buffer) -> String { @@ -50,37 +49,37 @@ async fn fresh_logo_returns_only_to_the_ordinary_composer() -> Result<()> { .start_fresh(); draw(&mut app, &mut tui, size)?; let cursor = tui.terminal.last_known_cursor_pos; - assert!(has_blossom(&tui)); + assert!(has_splash(&tui)); app.open_transcript_overlay(&mut tui); draw(&mut app, &mut tui, size)?; - assert!(!has_blossom(&tui)); + assert!(!has_splash(&tui)); assert_eq!(tui.terminal.last_known_cursor_pos, cursor); app.close_transcript_overlay(&mut tui); draw(&mut app, &mut tui, size)?; - assert!(has_blossom(&tui)); + assert!(has_splash(&tui)); app.transcript_view.begin_search(); draw(&mut app, &mut tui, size)?; - assert!(!has_blossom(&tui)); + assert!(!has_splash(&tui)); app.transcript_view.handle_key( KeyEvent::new(KeyCode::Esc, KeyModifiers::NONE), &app.transcript_cells, ); draw(&mut app, &mut tui, size)?; - assert!(has_blossom(&tui)); + assert!(has_splash(&tui)); for enabled in [true, false] { app.apply_raw_output_mode(&mut tui, enabled, /*notify*/ false); draw(&mut app, &mut tui, size)?; - assert_eq!(has_blossom(&tui), !enabled); + assert_eq!(has_splash(&tui), !enabled); } app.chat_widget.apply_external_edit(String::new()); for (key, visible) in [(KeyCode::Char('?'), false), (KeyCode::Right, true)] { app.chat_widget .handle_key_event(KeyEvent::new(key, KeyModifiers::NONE)); draw(&mut app, &mut tui, size)?; - assert_eq!(has_blossom(&tui), visible); + assert_eq!(has_splash(&tui), visible); } tui.set_owned_screen(/*owned*/ false)?; Ok(()) @@ -135,7 +134,7 @@ async fn non_startup_history_dismisses_logo_until_a_new_thread() -> Result<()> { )), ); draw(&mut app, &mut tui, size)?; - assert!(has_blossom(&tui)); + assert!(has_splash(&tui)); // Even invisible non-startup content ends eligibility before a frame or clear can erase it. app.insert_history_cell( @@ -145,13 +144,13 @@ async fn non_startup_history_dismisses_logo_until_a_new_thread() -> Result<()> { app.reset_transcript_state_after_clear(); app.queue_clear_ui_header(&mut tui); draw(&mut app, &mut tui, size)?; - assert!(!has_blossom(&tui)); + assert!(!has_splash(&tui)); app.chat_widget .empty_state_animation .borrow_mut() .start_fresh(); draw(&mut app, &mut tui, size)?; - assert!(has_blossom(&tui)); + assert!(has_splash(&tui)); tui.set_owned_screen(/*owned*/ false)?; Ok(()) } @@ -174,14 +173,14 @@ async fn empty_state_animation_preserves_header_cursor_and_footer() -> Result<() let history_len = app.transcript_cells.len(); let before = crate::custom_terminal::test_support::last_rendered_buffer(&tui.terminal).clone(); let cursor = tui.terminal.last_known_cursor_pos; - assert!(!has_blossom(&tui)); + assert!(!has_splash(&tui)); app.chat_widget .empty_state_animation .borrow_mut() .start_fresh(); assert_eq!(draw(&mut app, &mut tui, size)?, before_bottom); let after = crate::custom_terminal::test_support::last_rendered_buffer(&tui.terminal); - assert!(has_blossom(&tui)); + assert!(has_splash(&tui)); assert_eq!(tui.terminal.last_known_cursor_pos, cursor); assert_eq!( &after.content[after.index_of(/*x*/ 0, before_bottom.y)..], @@ -197,16 +196,16 @@ async fn empty_state_animation_preserves_header_cursor_and_footer() -> Result<() ); let short = Size::new(/*width*/ 120, /*height*/ 12); draw(&mut app, &mut tui, short)?; - assert!(!has_blossom(&tui)); + assert!(!has_splash(&tui)); draw(&mut app, &mut tui, size)?; - assert!(has_blossom(&tui)); + assert!(has_splash(&tui)); app.chat_widget.apply_external_edit("/m".to_string()); draw(&mut app, &mut tui, size)?; - assert!(!has_blossom(&tui)); + assert!(!has_splash(&tui)); app.chat_widget.apply_external_edit(String::new()); draw(&mut app, &mut tui, size)?; - assert!(has_blossom(&tui)); + assert!(has_splash(&tui)); assert_eq!(app.transcript_cells.len(), history_len); app.local_settings.tui.animations = false; draw(&mut app, &mut tui, size)?; @@ -222,7 +221,7 @@ async fn empty_state_animation_preserves_header_cursor_and_footer() -> Result<() app.local_settings.tui.effects.welcome = true; app.local_settings.tui.effects.shimmer = false; draw(&mut app, &mut tui, size)?; - assert!(has_blossom(&tui)); + assert!(has_splash(&tui)); tui.set_owned_screen(/*owned*/ false)?; Ok(()) } @@ -240,29 +239,29 @@ async fn submitting_a_draft_dismisses_logo_even_after_clear() -> Result<()> { .borrow_mut() .start_fresh(); draw(&mut app, &mut tui, size)?; - assert!(has_blossom(&tui)); + assert!(has_splash(&tui)); app.chat_widget .apply_external_edit("first prompt".to_string()); draw(&mut app, &mut tui, size)?; let drafting = crate::custom_terminal::test_support::last_rendered_buffer(&tui.terminal); - assert!(!has_blossom(&tui)); + assert!(!has_splash(&tui)); assert!(text(drafting).contains("first prompt")); app.chat_widget.apply_external_edit(String::new()); draw(&mut app, &mut tui, size)?; - assert!(has_blossom(&tui)); + assert!(has_splash(&tui)); app.chat_widget .apply_external_edit("first prompt".to_string()); app.chat_widget .handle_key_event(KeyEvent::new(KeyCode::Enter, KeyModifiers::NONE)); draw(&mut app, &mut tui, size)?; - assert!(!has_blossom(&tui)); + assert!(!has_splash(&tui)); let short = Size::new(/*width*/ 120, /*height*/ 8); draw(&mut app, &mut tui, short)?; draw(&mut app, &mut tui, size)?; - assert!(!has_blossom(&tui)); + assert!(!has_splash(&tui)); app.reset_transcript_state_after_clear(); draw(&mut app, &mut tui, size)?; - assert!(!has_blossom(&tui)); + assert!(!has_splash(&tui)); tui.set_owned_screen(/*owned*/ false)?; Ok(()) } @@ -302,7 +301,7 @@ async fn empty_state_animation_survives_plain_transcript_clicks() -> Result<()> &app.transcript_cells, ); draw(&mut app, &mut tui, size)?; - assert_eq!(has_blossom(&tui), visible); + assert_eq!(has_splash(&tui), visible); if visible { assert_eq!(tui.terminal.last_known_cursor_pos, cursor); } @@ -314,10 +313,10 @@ async fn empty_state_animation_survives_plain_transcript_clicks() -> Result<()> ); app.transcript_view.end_selection(&app.transcript_cells); draw(&mut app, &mut tui, size)?; - assert!(!has_blossom(&tui)); + assert!(!has_splash(&tui)); app.transcript_view.jump_to_latest(); draw(&mut app, &mut tui, size)?; - assert!(has_blossom(&tui)); + assert!(has_splash(&tui)); tui.set_owned_screen(/*owned*/ false)?; Ok(()) } diff --git a/codex-rs/tui/src/app/event_dispatch.rs b/codex-rs/tui/src/app/event_dispatch.rs index 917ba00c..7e6d9a8c 100644 --- a/codex-rs/tui/src/app/event_dispatch.rs +++ b/codex-rs/tui/src/app/event_dispatch.rs @@ -1192,7 +1192,7 @@ impl App { subtitle: Some("Quitting this TUI will stop its running sessions.".into()), items: vec![ SelectionItem { - name: "Stay in Codex".into(), + name: "Stay in aKode".into(), dismiss_on_select: true, ..Default::default() }, @@ -2445,7 +2445,7 @@ impl App { Line::from(vec!["• ".dim(), "Sandbox ready".into()]), Line::from(vec![ " ".into(), - "Codex can now safely edit files and execute commands in your computer" + "aKode can now safely edit files and execute commands in your computer" .dark_gray(), ]), ]); diff --git a/codex-rs/tui/src/app/history_ui.rs b/codex-rs/tui/src/app/history_ui.rs index 16814772..e580f4bd 100644 --- a/codex-rs/tui/src/app/history_ui.rs +++ b/codex-rs/tui/src/app/history_ui.rs @@ -154,6 +154,7 @@ impl App { version, ) .with_yolo_mode(history_cell::is_yolo_mode(&self.config)) + .with_provider_name(Some(self.config.model_provider.name.clone())) } pub(super) fn clear_ui_header_lines(&self, width: u16) -> Vec> { diff --git a/codex-rs/tui/src/app/input.rs b/codex-rs/tui/src/app/input.rs index 03c9b5e1..9f2f1410 100644 --- a/codex-rs/tui/src/app/input.rs +++ b/codex-rs/tui/src/app/input.rs @@ -352,16 +352,12 @@ impl App { } pub(super) async fn launch_external_editor(&mut self, tui: &mut tui::Tui) { - self.chat_widget - .empty_state_animation - .borrow_mut() - .pause_clock(); let editor_cmd = match external_editor::resolve_editor_command() { Ok(cmd) => cmd, Err(external_editor::EditorError::MissingEditor) => { self.chat_widget .add_to_history(history_cell::new_error_event( - "Cannot open external editor: set $VISUAL or $EDITOR before starting Codex." + "Cannot open external editor: set $VISUAL or $EDITOR before starting aKode." .to_string(), )); self.reset_external_editor_state(tui); @@ -411,10 +407,6 @@ impl App { } pub(super) fn request_external_editor_launch(&mut self, tui: &mut tui::Tui) { - self.chat_widget - .empty_state_animation - .borrow_mut() - .pause_clock(); self.chat_widget .set_external_editor_state(ExternalEditorState::Requested); self.chat_widget.set_footer_hint_override(Some(vec![( @@ -628,17 +620,17 @@ impl App { items: [ ( "Cancel task", - "Stop the current task and stay in Codex", + "Stop the current task and stay in aKode", RunningTaskExitAction::CancelTask, ), ( "Run in background", - "Exit Codex and leave the task running", + "Exit aKode and leave the task running", RunningTaskExitAction::RunInBackground, ), ( "Exit", - "Stop the current task and exit Codex", + "Stop the current task and exit aKode", RunningTaskExitAction::Exit, ), ] diff --git a/codex-rs/tui/src/app/managed_worktree_creation.rs b/codex-rs/tui/src/app/managed_worktree_creation.rs index 7b533665..99d0cd11 100644 --- a/codex-rs/tui/src/app/managed_worktree_creation.rs +++ b/codex-rs/tui/src/app/managed_worktree_creation.rs @@ -25,7 +25,7 @@ pub(super) fn background_terminals_blocker( || source.message.contains("unknown method"))) => { Some( - "The local Codex service cannot check background terminals. Run `codex app-server daemon update`, then restart Codex.", + "The local aKode service cannot check background terminals. Run `codex app-server daemon update`, then restart aKode.", ) } _ => Some("Active background terminals block /cd."), @@ -261,7 +261,7 @@ impl App { Ok(_) => { return self.retained_worktree_error( &checkout, - "The new worktree is not trusted; run Codex there.", + "The new worktree is not trusted; run aKode there.", ); } Err(error) => { diff --git a/codex-rs/tui/src/app/owned_transcript.rs b/codex-rs/tui/src/app/owned_transcript.rs index fc494d71..5ee965d3 100644 --- a/codex-rs/tui/src/app/owned_transcript.rs +++ b/codex-rs/tui/src/app/owned_transcript.rs @@ -105,7 +105,7 @@ pub(super) struct PaintedConversation { shown_tip: Option, needs_redraw: bool, /// Delays requested by copy feedback, the empty-state animation, and the transcript. - delayed_frames: [Option; 3], + delayed_frames: [Option; 2], } impl PreparedConversation { @@ -685,9 +685,9 @@ impl App { ); needs_redraw = false; } - let blossom_tick = chat_widget + chat_widget .empty_state_animation - .borrow_mut() + .borrow() .render_first_screen( area, Rect { @@ -739,7 +739,6 @@ impl App { needs_redraw, delayed_frames: [ feedback_tick, - blossom_tick, (animating || loading).then_some(Duration::from_millis(50)), ], } @@ -857,14 +856,6 @@ impl App { if !tui.is_owned_screen() || self.overlay.is_some() { return Ok(false); } - if matches!(event, TuiEvent::FocusLost) { - self.chat_widget - .empty_state_animation - .borrow_mut() - .cancel_replay(); - // Show the static, faded decoration immediately when the terminal loses focus. - tui.frame_requester().schedule_frame(); - } if self.transcript_view.history == TranscriptHistoryState::Idle { self.transcript_view.history = if self.scrollback_has_older_history { TranscriptHistoryState::Partial @@ -913,16 +904,6 @@ impl App { return Ok(true); } } - if self.chat_widget.no_modal_or_popup_active() - && self - .chat_widget - .empty_state_animation - .borrow_mut() - .handle_mouse(*mouse) - { - tui.frame_requester().schedule_frame(); - return Ok(true); - } if composer_ready && self.handle_composer_copy_event(tui, event, |tui, text| { tui.copy_transcript_selection( diff --git a/codex-rs/tui/src/app/platform_actions.rs b/codex-rs/tui/src/app/platform_actions.rs index 8025746e..a227ade4 100644 --- a/codex-rs/tui/src/app/platform_actions.rs +++ b/codex-rs/tui/src/app/platform_actions.rs @@ -165,7 +165,7 @@ impl App { if self.windows_sandbox.pending_setup.is_some() { if self.windows_sandbox.setup_started_at.is_none() { self.chat_widget.add_info_message( - "Windows sandbox setup is still running. Restart Codex to retry.".to_string(), + "Windows sandbox setup is still running. Restart aKode to retry.".to_string(), /*hint*/ None, ); } @@ -221,7 +221,7 @@ impl App { })) => {} Err(_) => { self.chat_widget.add_error_message( - "Windows sandbox setup request timed out. Waiting for completion; restart Codex if it does not finish." + "Windows sandbox setup request timed out. Waiting for completion; restart aKode if it does not finish." .to_string(), ); } diff --git a/codex-rs/tui/src/app/reconnect.rs b/codex-rs/tui/src/app/reconnect.rs index bbea1d75..7f188e28 100644 --- a/codex-rs/tui/src/app/reconnect.rs +++ b/codex-rs/tui/src/app/reconnect.rs @@ -44,7 +44,7 @@ pub(super) async fn reconnect( presentation: ReconnectPresentation, ) -> Result { if matches!(target, AppServerTarget::Cloud) { - color_eyre::eyre::bail!("Reopen Codex to reconnect the cloud backend."); + color_eyre::eyre::bail!("Reopen aKode to reconnect the cloud backend."); } let mode = target.thread_params_mode(); if matches!(target, AppServerTarget::Embedded) { @@ -572,7 +572,7 @@ impl App { #[cfg(any(target_os = "windows", test))] if interrupted_windows_setup { self.chat_widget.add_error_message( - "Windows sandbox setup was interrupted. Restart Codex before using Agent mode." + "Windows sandbox setup was interrupted. Restart aKode before using Agent mode." .to_string(), ); } diff --git a/codex-rs/tui/src/app/server_version_notice.rs b/codex-rs/tui/src/app/server_version_notice.rs index bca03e34..0d3d9c3e 100644 --- a/codex-rs/tui/src/app/server_version_notice.rs +++ b/codex-rs/tui/src/app/server_version_notice.rs @@ -61,7 +61,7 @@ impl App { ServerVersionNoticeKind::Different => "≠", }; Some(format!( - "Service v{server} {comparison} Codex CLI v{client_version}{guidance}" + "Service v{server} {comparison} aKode CLI v{client_version}{guidance}" )) }); } diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__agents_overview__tests__older_server_notice_is_visible_in_agents_overview.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__agents_overview__tests__older_server_notice_is_visible_in_agents_overview.snap index 4e581bcd..308126f0 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__agents_overview__tests__older_server_notice_is_visible_in_agents_overview.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__agents_overview__tests__older_server_notice_is_visible_in_agents_overview.snap @@ -2,4 +2,4 @@ source: tui/src/app/agents_overview_tests.rs expression: "rendered.lines().find(|line| line.contains(\"Service v0.153.0\") ||\nline.contains(\"Service v0.152.1\")).unwrap()" --- - Service v0.152.1 < Codex CLI v0.153.0 + Service v0.152.1 < aKode CLI v0.153.0 diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__composer_hints__tests__composer_usage_notice.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__composer_hints__tests__composer_usage_notice.snap index d598740a..87727e23 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__composer_hints__tests__composer_usage_notice.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__composer_hints__tests__composer_usage_notice.snap @@ -9,7 +9,7 @@ Conversation breakdown. ⚠ 5h limit: 8% left · /status -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project ? for shortcuts ⚠ 1 warning · f2 to view diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_cli_confirmation.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_cli_confirmation.snap index 4a946119..b57652ce 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_cli_confirmation.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_cli_confirmation.snap @@ -10,8 +10,8 @@ expression: "render_bottom_popup(&app.chat_widget,\nwidth).replace(r\"C:\\cli-bu │ │ - Update daemon and exit Codex? - Use this CLI package v0.0.0 from /x/cli-build/bin/codex. Copy the + Update daemon and exit aKode? + Use this CLI package v0.1.0 from /x/cli-build/bin/codex. Copy the complete package and pin it against automatic updates. This may restart the daemon and interrupt active or queued work. Codex exits to update in this terminal. Relaunch it afterward. @@ -26,4 +26,4 @@ expression: "render_bottom_popup(&app.chat_widget,\nwidth).replace(r\"C:\\cli-bu │ │ │ - Service v0.153.0 < Codex CLI v0.154.0 · /daemon + Service v0.153.0 < aKode CLI v0.154.0 · /daemon diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_no_cli_handoff.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_no_cli_handoff.snap index 69666861..f58ed6a3 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_no_cli_handoff.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_no_cli_handoff.snap @@ -4,7 +4,7 @@ expression: "render_bottom_popup(&app.chat_widget, 80)" --- Daemon Not connected to the local background server. - Run the Codex CLI to manage the daemon from this menu. + Run the aKode CLI to manage the daemon from this menu. › Install latest public stable diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_restart_confirmation.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_restart_confirmation.snap index a255f34b..cfe8618a 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_restart_confirmation.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_restart_confirmation.snap @@ -12,7 +12,7 @@ expression: "render_bottom_popup(&app.chat_widget, 80)" Restart background server? Active or queued work in other chats may be interrupted. - Codex will reconnect automatically. + aKode will reconnect automatically. › 1. Cancel @@ -25,4 +25,4 @@ expression: "render_bottom_popup(&app.chat_widget, 80)" - Service v0.153.0 < Codex CLI v0.154.0 · /daemon + Service v0.153.0 < aKode CLI v0.154.0 · /daemon diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_stable_confirmation.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_stable_confirmation.snap index b7f4e1a1..7da97434 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_stable_confirmation.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_stable_confirmation.snap @@ -9,7 +9,7 @@ expression: "render_bottom_popup(&app.chat_widget,\nwidth).replace(r\"C:\\cli-bu - Update daemon and exit Codex? + Update daemon and exit aKode? Install the latest public stable release. Restore production updates; keep your automatic-update setting. This may restart the daemon and interrupt active or queued work. @@ -25,4 +25,4 @@ expression: "render_bottom_popup(&app.chat_widget,\nwidth).replace(r\"C:\\cli-bu - Service v0.153.0 < Codex CLI v0.154.0 · /daemon + Service v0.153.0 < aKode CLI v0.154.0 · /daemon diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_unmanaged.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_unmanaged.snap index 1cdc06cd..234be27f 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_unmanaged.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__daemon_menu__tests__daemon_unmanaged.snap @@ -9,7 +9,7 @@ expression: "render_bottom_popup(&app.chat_widget, 80)" › 1. Install latest public stable 2. Use this CLI build - Restart background server (disabled) Codex hasn't verified it manages this + Restart background server (disabled) aKode hasn't verified it manages this server. Restart it where it was started. diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__empty_state_animation_tests__fresh_thread_header.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__empty_state_animation_tests__fresh_thread_header.snap index 789d6e4b..800d201e 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__empty_state_animation_tests__fresh_thread_header.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__empty_state_animation_tests__fresh_thread_header.snap @@ -4,8 +4,10 @@ expression: "format!(\"enabled:\\n{}\\n---\\ndisabled:\\n{}\", text(after), text --- enabled: - >_ OpenAI Codex (v0.0.0) - /tmp/project + ▄▄████▄▄ aKode v0.1.0 + ██▀▀██▀▀██ GPT-5.6-Sol · OpenAI + ██▄▄██▄▄██ /tmp/project + ██▀████▀██ @@ -16,23 +18,17 @@ enabled: - ⣀⣤⣤⣤⣀⣀ - ⣠⣶⣿⣿⣿⣿⣿⣿⣿⣿⣦⣤⣤⣤⣤⣤⣤⡀ - ⢀⣾⣿⣿⠿⠋⠉⠉⢉⣭⣿⣿⣿⣿⣿⠿⣿⣿⣿⣿⣷⣄ - ⣀⣾⣿⣿⠃ ⣀⣴⣾⣿⣿⡿⠟⠋ ⣀⡀ ⠈⠙⢿⣿⣿⣧ - ⣀⣶⣿⣿⣿⣿⡇ ⢸⣿⣿⡿⠛⠉⢀⣠⣴⣿⣿⣿⣷⣦⣀⠈⢻⣿⣿⡇ - ⣰⣿⣿⡿⢿⣿⣿⡇ ⢸⣿⣿⢀⣤⣶⣿⣿⣿⠟⠛⠻⣿⣿⣿⣿⣮⣿⣿⡷ - ⢰⣿⣿⡟⠁⢸⣿⣿⡇ ⢸⣿⣿⣿⣿⠿⠿⣿⣿⣿⣦⣄⡀⠈⠛⠿⣿⣿⣿⣧⡀ - ⣾⣿⣿⠃ ⢸⣿⣿⡇ ⢸⣿⣿⠋⠁ ⠈⠙⢻⣿⣿⣿⣶⣤⡀ ⠹⢿⣿⣷⡄ - ⢸⣿⣿⣇ ⠸⣿⣿⣷⣦⣼⣿⣿ ⢸⣿⣿⠻⢿⣿⣿⡇ ⠘⣿⣿⣿ - ⠈⢿⣿⣿⣦⡀⠈⠛⠿⣿⣿⣿⣿⣄⡀ ⢀⣠⣼⣿⣿ ⣿⣿⡇ ⣿⣿⣿⠇ - ⢻⣿⣿⣿⣷⣦⣀⠈⠙⠻⣿⣿⣿⣶⣶⣿⣿⣿⣿⣿ ⣿⣿⡇ ⣠⣿⣿⣿ - ⢸⣿⣿⡿⢿⣿⣿⣿⣦⣠⣴⣿⣿⣿⡿⠟⠋⢸⣿⣿ ⣿⣿⣷⣴⣿⣿⣿⠃ - ⠘⣿⣿⣷ ⠈⠛⢿⣿⣿⣿⠿⠋⠉ ⣠⣴⣿⣿⣿ ⣿⣿⣿⣿⣿⠟⠁ - ⠻⣿⣿⣿⣤⣀ ⠈⠉ ⢀⣤⣶⣿⣿⣿⠿⠟⠁ ⣰⣿⣿⡟⠋⠁ - ⠈⠿⣿⣿⣿⣿⣶⣾⣿⣿⣿⣿⠟⠋⠁ ⣠⣼⣿⣿⡟ - ⠙⠛⠛⠛⠻⠛⢿⣿⣿⣿⣿⣷⣾⣿⣿⣿⡿⠏ - ⠈⠙⠛⠿⠿⠿⠿⠛⠉ + + + + █████╗ ██╗ ██╗ ██████╗ ██████╗ ███████╗ + ▄▄████▄▄ ██╔══██╗██║ ██╔╝██╔═══██╗██╔══██╗██╔════╝ + ██▀▀██▀▀██ ███████║█████╔╝ ██║ ██║██║ ██║█████╗ + ██▄▄██▄▄██ ██╔══██║██╔═██╗ ██║ ██║██║ ██║██╔══╝ + ██▀████▀██ ██║ ██║██║ ██╗╚██████╔╝██████╔╝███████╗ + ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ + + Benvenuto in aKode · il tuo agente di coding locale @@ -43,15 +39,21 @@ enabled: -› Ask Codex to do anything + + + + +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project ? for shortcuts ⚠ 1 warning · f2 to view --- disabled: - >_ OpenAI Codex (v0.0.0) - /tmp/project + ▄▄████▄▄ aKode v0.1.0 + ██▀▀██▀▀██ GPT-5.6-Sol · OpenAI + ██▄▄██▄▄██ /tmp/project + ██▀████▀██ @@ -87,9 +89,7 @@ disabled: - - -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project ? for shortcuts ⚠ 1 warning · f2 to view diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__input_tests__raw_paste_burst_render.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__input_tests__raw_paste_burst_render.snap index 324f2da7..1bdb924f 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__input_tests__raw_paste_burst_render.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__input_tests__raw_paste_burst_render.snap @@ -23,7 +23,7 @@ Before paste -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project ? for shortcuts diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__tests__prompt_navigation.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__tests__prompt_navigation.snap index 22f51248..296c74e6 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__tests__prompt_navigation.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__tests__prompt_navigation.snap @@ -14,7 +14,7 @@ expression: "normalize_snapshot_paths(buffer_text(crate::custom_terminal::test_s -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project Browsing · ↑↓/jk scroll · ←→/hl prompts · ⌃t details · ↵ rewind · esc back diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__tests__recap_tail_spacing.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__tests__recap_tail_spacing.snap index 34bbf54b..a9888fdf 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__tests__recap_tail_spacing.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__tests__recap_tail_spacing.snap @@ -9,7 +9,7 @@ History 20 -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts @@ -21,7 +21,7 @@ History 20 • Follow-up response. -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts @@ -33,7 +33,7 @@ History 20 • Streaming response. -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts @@ -47,7 +47,7 @@ History 20 -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts @@ -61,7 +61,7 @@ History 20 • Follow-up response. -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts @@ -75,7 +75,7 @@ History 20 • Streaming response. -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts @@ -89,7 +89,7 @@ History 20 -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/proje… ? for shortcuts @@ -103,7 +103,7 @@ History 20 • Follow-up response. -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/proje… ? for shortcuts @@ -117,7 +117,7 @@ History 20 • Streaming response. -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/proje… ? for shortcuts @@ -126,7 +126,7 @@ History 20 Next: Review the changes. -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts @@ -135,7 +135,7 @@ History 20 • Follow-up response. -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts @@ -144,7 +144,7 @@ History 20 • Streaming response. -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts @@ -152,7 +152,7 @@ History 20 32x6, Recap at tail -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/proje… ? for shortcuts @@ -160,7 +160,7 @@ History 20 32x6, Message after recap -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/proje… ? for shortcuts @@ -168,7 +168,7 @@ History 20 32x6, Live message after recap -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/proje… ? for shortcuts diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__warning_notice_tests__elevated_launch_warning_center.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__warning_notice_tests__elevated_launch_warning_center.snap index 9ee5c872..8bf162b3 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__warning_notice_tests__elevated_launch_warning_center.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__owned_transcript__warning_notice_tests__elevated_launch_warning_center.snap @@ -17,7 +17,7 @@ expression: screen(&tui) Warnings · 1 of 1 · Startup Running as administrator: shared background server disabled. To enable it, - restart Codex in a terminal without administrator permissions. + restart aKode in a terminal without administrator permissions. diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__tests__allocated_stream_table.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__tests__allocated_stream_table.snap index 8e831dd1..6d5679ad 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__tests__allocated_stream_table.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__tests__allocated_stream_table.snap @@ -22,7 +22,7 @@ history-39 five six seven white orange -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__tests__app_server_thread_replacement_clears_previous_transcript_before_replay-2.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__tests__app_server_thread_replacement_clears_previous_transcript_before_replay-2.snap index 8aa1bca7..fc81e277 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__tests__app_server_thread_replacement_clears_previous_transcript_before_replay-2.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__tests__app_server_thread_replacement_clears_previous_transcript_before_replay-2.snap @@ -4,8 +4,10 @@ assertion_line: 6513 expression: rendered --- - >_ OpenAI Codex (v0.0.0) - + ▄▄████▄▄ aKode v0.1.0 + ██▀▀██▀▀██ gpt-test · OpenAI + ██▄▄██▄▄██ + ██▀████▀██ › Next thread prompt diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__tests__owned_prompt_revert_retained_history.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__tests__owned_prompt_revert_retained_history.snap index 7f03e8d8..beb87420 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__tests__owned_prompt_revert_retained_history.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__tests__owned_prompt_revert_retained_history.snap @@ -2,9 +2,9 @@ source: tui/src/app/tests.rs expression: transcript --- - /init - create an AGENTS.md file with instructions for Codex + /init - create an AGENTS.md file with instructions for aKode /status - show current session configuration - /permissions - choose what Codex is allowed to do + /permissions - choose what aKode is allowed to do /model - choose what model and reasoning effort to use /review - review any changes and find issues diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__thread_title__tests__automatic_thread_title_pending.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__thread_title__tests__automatic_thread_title_pending.snap index 79485985..889eaf70 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__thread_title__tests__automatic_thread_title_pending.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__thread_title__tests__automatic_thread_title_pending.snap @@ -5,6 +5,6 @@ expression: "normalize_snapshot_paths(format!(\"terminal title: {}\\nfooter:\\n{ --- terminal title: project footer: -› Ask Codex to do anything +› Ask aKode to do anything gpt-5.2 default · /tmp/project · ← for agents diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__thread_title__tests__manual_rename_cancels_thread_title.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__thread_title__tests__manual_rename_cancels_thread_title.snap index 5e686a76..fed420f1 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__thread_title__tests__manual_rename_cancels_thread_title.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__thread_title__tests__manual_rename_cancels_thread_title.snap @@ -3,6 +3,6 @@ source: tui/src/app/thread_title_tests.rs assertion_line: 363 expression: normalize_snapshot_paths(popup) --- -› Ask Codex to do anything +› Ask aKode to do anything gpt-5.2 default · /tmp/project · Keep this title · ← for agents diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__transcript_export__tests__markdown_transcript.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__transcript_export__tests__markdown_transcript.snap index d06cd9f1..16e2857c 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__transcript_export__tests__markdown_transcript.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__transcript_export__tests__markdown_transcript.snap @@ -2,7 +2,7 @@ source: tui/src/app/transcript_export_tests.rs expression: "render_markdown_transcript(&cells).expect(\"exported transcript\")" --- -# Codex conversation +# aKode conversation ## User diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__transcript_export__tests__persisted_web_and_image_activity_preserves_full_details.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__transcript_export__tests__persisted_web_and_image_activity_preserves_full_details.snap index e57701e7..2ed0b2e3 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__transcript_export__tests__persisted_web_and_image_activity_preserves_full_details.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__transcript_export__tests__persisted_web_and_image_activity_preserves_full_details.snap @@ -3,7 +3,7 @@ source: tui/src/app/transcript_export_tests.rs assertion_line: 227 expression: "render_markdown_transcript(&cells).expect(\"exported transcript\")" --- -# Codex conversation +# aKode conversation ## Reasoning diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__tui_mode_picker__tests__tui_mode_picker_requires_confirmation_and_explains_restart.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__tui_mode_picker__tests__tui_mode_picker_requires_confirmation_and_explains_restart.snap index 6be3a583..b21c107c 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__tui_mode_picker__tests__tui_mode_picker_requires_confirmation_and_explains_restart.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__tui_mode_picker__tests__tui_mode_picker_requires_confirmation_and_explains_restart.snap @@ -7,7 +7,7 @@ fullscreen=false, width=80 › 1. Scrollback (current) Native terminal copy, paste and scrollback - 2. Fullscreen Scroll within Codex's fullscreen view + 2. Fullscreen Scroll within aKode's fullscreen view Restart to apply. Launch overrides still apply. enter select · esc back @@ -22,7 +22,7 @@ fullscreen=false, width=40 and scrollback 2. Fullscreen Scroll within - Codex's + aKode's fullscreen view @@ -35,7 +35,7 @@ fullscreen=true, width=80 1. Scrollback Native terminal copy, paste and scrollback -› 2. Fullscreen (current) Scroll within Codex's fullscreen view +› 2. Fullscreen (current) Scroll within aKode's fullscreen view Restart to apply. Launch overrides still apply. enter select · esc back @@ -50,7 +50,7 @@ fullscreen=true, width=40 and scrollback › 2. Fullscreen (current) Scroll within - Codex's + aKode's fullscreen view diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__turn_tips__tests__turn_tip_placements.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__turn_tips__tests__turn_tip_placements.snap index f6cfeee6..6746e54a 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__turn_tips__tests__turn_tip_placements.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__turn_tips__tests__turn_tip_placements.snap @@ -12,7 +12,7 @@ Response row 0 └ Tip: Try /help. -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts @@ -20,7 +20,7 @@ Response row 0 working=true, response rows=1, 80x6 • Working (0s • esc to interrupt) -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts @@ -34,7 +34,7 @@ working=false, response rows=1, 80x12 Worked for [duration] • [completion time] -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts @@ -60,7 +60,7 @@ Response row 0 -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts @@ -86,7 +86,7 @@ Response row 0 Copying 5 chars… -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts @@ -100,7 +100,7 @@ working=false, response rows=30, 80x12 Worked for [duration] • [completion time] -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts @@ -111,7 +111,7 @@ working=false, response rows=1, 80x9 Worked for [duration] • [completion time] -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts @@ -123,7 +123,7 @@ working=false, response rows=1, 80x10 Worked for [duration] • [completion time] -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts @@ -136,7 +136,7 @@ working=false, response rows=1, 80x11 Worked for [duration] • [completion time] -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts @@ -150,13 +150,13 @@ working=false, response rows=1, 12x12 [completion time] -› Ask Codex +› Ask aKode gpt-test … ? for shor working=false, response rows=1, 80x4 -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__turn_tips__tests__working_tip_mouse_down.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__turn_tips__tests__working_tip_mouse_down.snap index a39deb9a..cdb0ec17 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__turn_tips__tests__working_tip_mouse_down.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__turn_tips__tests__working_tip_mouse_down.snap @@ -23,7 +23,7 @@ Response row 9 └ Tip: Try /help. -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__turn_tips__tests__working_tip_selected.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__turn_tips__tests__working_tip_selected.snap index 870b86f6..db5afd24 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__turn_tips__tests__working_tip_selected.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__turn_tips__tests__working_tip_selected.snap @@ -23,7 +23,7 @@ Response row 9 └ Tip: Try /help. Copying 5 chars… -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project ? for shortcuts diff --git a/codex-rs/tui/src/app/snapshots/codex_tui__app__user_verification__tests__older_binary_verification_warning.snap b/codex-rs/tui/src/app/snapshots/codex_tui__app__user_verification__tests__older_binary_verification_warning.snap index 01d537a9..970c3592 100644 --- a/codex-rs/tui/src/app/snapshots/codex_tui__app__user_verification__tests__older_binary_verification_warning.snap +++ b/codex-rs/tui/src/app/snapshots/codex_tui__app__user_verification__tests__older_binary_verification_warning.snap @@ -3,4 +3,4 @@ source: tui/src/app/user_verification_tests.rs assertion_line: 275 expression: rendered --- -⚠ The local Codex binary could not complete user verification. +⚠ The local aKode binary could not complete user verification. diff --git a/codex-rs/tui/src/app/startup.rs b/codex-rs/tui/src/app/startup.rs index e669e086..9a37a1d0 100644 --- a/codex-rs/tui/src/app/startup.rs +++ b/codex-rs/tui/src/app/startup.rs @@ -960,7 +960,7 @@ impl App { color_eyre::eyre::eyre!( "Invalid `tui.keymap` configuration: {err}\n\ Fix the config and retry.\n\ -See the Codex keymap documentation for supported actions and examples." +See the aKode keymap documentation for supported actions and examples." ) }); let runtime_keymap = startup_try!(runtime_keymap); diff --git a/codex-rs/tui/src/app/startup_prompts.rs b/codex-rs/tui/src/app/startup_prompts.rs index 1203f9eb..5057af90 100644 --- a/codex-rs/tui/src/app/startup_prompts.rs +++ b/codex-rs/tui/src/app/startup_prompts.rs @@ -135,7 +135,7 @@ pub(super) fn model_upgrade_for_migration( _ => return None, }; let availability = if model == "openai.gpt-5.4" { - "no longer offered in Codex" + "no longer offered in aKode" } else { "no longer available" }; diff --git a/codex-rs/tui/src/app/startup_warnings.rs b/codex-rs/tui/src/app/startup_warnings.rs index 2d7751b0..f8b7d8b8 100644 --- a/codex-rs/tui/src/app/startup_warnings.rs +++ b/codex-rs/tui/src/app/startup_warnings.rs @@ -64,7 +64,7 @@ impl App { } #[cfg(target_os = "linux")] -const NFS_MIGRATION_WARNING: &str = "Some Codex SQLite files on NFS have permissions other than 0600. Migration preserves these permissions and requires your confirmation. Before running `codex migrate-nfs-db`, stop Codex on every host that uses these databases."; +const NFS_MIGRATION_WARNING: &str = "Some aKode SQLite files on NFS have permissions other than 0600. Migration preserves these permissions and requires your confirmation. Before running `codex migrate-nfs-db`, stop aKode on every host that uses these databases."; #[cfg(target_os = "linux")] pub(super) async fn warn_about_nfs_migration( diff --git a/codex-rs/tui/src/app/tests.rs b/codex-rs/tui/src/app/tests.rs index d3eebd5b..63329376 100644 --- a/codex-rs/tui/src/app/tests.rs +++ b/codex-rs/tui/src/app/tests.rs @@ -8498,7 +8498,7 @@ async fn ctrl_l_preserves_the_transcript_and_draft_after_clearing_the_screen() - let compact = transcript_composer::buffer_text( crate::custom_terminal::test_support::last_rendered_buffer(&tui.terminal), ); - assert!(compact.contains("OpenAI Codex")); + assert!(compact.contains("aKode v")); assert!(compact.contains("New exchange")); assert!(!compact.contains("Earlier exchange")); let ctrl_t = KeyEvent::new(KeyCode::Char('t'), KeyModifiers::CONTROL); @@ -9239,10 +9239,10 @@ async fn app_server_thread_replacement_clears_previous_transcript_before_replay( .iter() .map(|line| { let text = rendered_line_text(line); - if text.trim() == test_path_buf("/tmp/next").display().to_string() { - " ".to_string() - } else { - text + let cwd = test_path_buf("/tmp/next").display().to_string(); + match text.trim_end().strip_suffix(cwd.as_str()) { + Some(prefix) => format!("{prefix}"), + None => text, } }) .collect::>() diff --git a/codex-rs/tui/src/app/tests/active_reconnect_tests.rs b/codex-rs/tui/src/app/tests/active_reconnect_tests.rs index 8bb62b00..128829bc 100644 --- a/codex-rs/tui/src/app/tests/active_reconnect_tests.rs +++ b/codex-rs/tui/src/app/tests/active_reconnect_tests.rs @@ -398,13 +398,13 @@ async fn reconnect_restores_history_permissions_and_resumes_unsent_input() -> Re .lines() .filter(|line| { line.contains("Couldn't confirm whether") - || line.contains("background Codex service") + || line.contains("background aKode service") }) .collect::>() .join("\n"); if deferred_notice { assert_snapshot!(notices, @r###" -⚠ A background Codex service is running v2.0.0, older than your Codex CLI +⚠ A background aKode service is running v2.0.0, older than your aKode CLI "###); } else if edit_offline { assert!(notices.contains("unacknowledged prompt")); diff --git a/codex-rs/tui/src/app/tests/background_exit_tests.rs b/codex-rs/tui/src/app/tests/background_exit_tests.rs index 298781bd..628a5674 100644 --- a/codex-rs/tui/src/app/tests/background_exit_tests.rs +++ b/codex-rs/tui/src/app/tests/background_exit_tests.rs @@ -355,9 +355,9 @@ async fn daemon_ctrl_c_shows_background_exit_menu_and_escape_dismisses_it() -> R Choose what happens to the current task. - › 1. Cancel task Stop the current task and stay in Codex - 2. Run in background Exit Codex and leave the task running - 3. Exit Stop the current task and exit Codex + › 1. Cancel task Stop the current task and stay in aKode + 2. Run in background Exit aKode and leave the task running + 3. Exit Stop the current task and exit aKode enter select · esc back "); @@ -625,8 +625,8 @@ async fn daemon_ctrl_c_hides_background_exit_for_running_background_side_thread( Choose what happens to the current task. - › 1. Cancel task Stop the current task and stay in Codex - 2. Exit Stop the current task and exit Codex + › 1. Cancel task Stop the current task and stay in aKode + 2. Exit Stop the current task and exit aKode enter select · esc back "); diff --git a/codex-rs/tui/src/app/tests/background_task_defaults_tests.rs b/codex-rs/tui/src/app/tests/background_task_defaults_tests.rs index ed5f7fc7..8f4d9a39 100644 --- a/codex-rs/tui/src/app/tests/background_task_defaults_tests.rs +++ b/codex-rs/tui/src/app/tests/background_task_defaults_tests.rs @@ -599,7 +599,7 @@ async fn command_center_new_read_failure_keeps_overview_and_does_not_start() -> .find(|message| { message.contains("Failed to") || message.contains("Unable to check folder trust") - || message.contains("Codex's background server is shutting down") + || message.contains("aKode's background server is shutting down") }) .expect("visible read error"); if capability == HistoryCapabilities::ConfigReadFails { diff --git a/codex-rs/tui/src/app/tests/fresh_sparkle_tests.rs b/codex-rs/tui/src/app/tests/fresh_sparkle_tests.rs index 0295121e..29529418 100644 --- a/codex-rs/tui/src/app/tests/fresh_sparkle_tests.rs +++ b/codex-rs/tui/src/app/tests/fresh_sparkle_tests.rs @@ -562,7 +562,7 @@ async fn astra_picker_confirms_the_model_at_application_after_an_automatic_updat let lines = rendered.lines().collect::>(); let prompt = lines .iter() - .position(|line| line.contains("Ask Codex to do anything")) + .position(|line| line.contains("Ask aKode to do anything")) .expect("empty composer shows its placeholder"); let composer = lines[prompt.saturating_sub(1)..=prompt + 1].join("\n"); snapshots.push(format!("{picker}:\n{composer}")); @@ -697,7 +697,7 @@ async fn session_only_astra_picker_shows_stars_only_on_an_untouched_task() -> Re let lines = rendered.lines().collect::>(); let prompt = lines .iter() - .position(|line| line.contains("Ask Codex to do anything")) + .position(|line| line.contains("Ask aKode to do anything")) .expect("empty composer shows its placeholder"); let composer = lines[prompt.saturating_sub(1)..=prompt + 1].join("\n"); assert_eq!( diff --git a/codex-rs/tui/src/app/tests/key_chords.rs b/codex-rs/tui/src/app/tests/key_chords.rs index 5c164638..7062b013 100644 --- a/codex-rs/tui/src/app/tests/key_chords.rs +++ b/codex-rs/tui/src/app/tests/key_chords.rs @@ -174,7 +174,7 @@ async fn global_chord_keeps_hints_and_completes_before_deadline() -> Result<()> render_bottom_popup(&app.chat_widget, /*width*/ 80) .replace(&test_path_display("/tmp/project"), "/tmp/project"), @" - › Ask Codex to do anything + › Ask aKode to do anything ⌃x then · ⌃t open transcript · ⌃u interrupt turn · esc cancel " diff --git a/codex-rs/tui/src/app/tests/model_catalog.rs b/codex-rs/tui/src/app/tests/model_catalog.rs index b55025fd..47f3ef12 100644 --- a/codex-rs/tui/src/app/tests/model_catalog.rs +++ b/codex-rs/tui/src/app/tests/model_catalog.rs @@ -577,7 +577,7 @@ async fn accepted_model_migration_persists_target_default_reasoning_effort() -> Our latest Sol is more intelligent and more efficient so your usage limits go further. This model is a great daily driver for complex tasks, especially coding. - GPT-5.4 on Amazon Bedrock is no longer offered in Codex + GPT-5.4 on Amazon Bedrock is no longer offered in aKode Codex now uses GPT-6 Sol on Amazon Bedrock in place of GPT-5.4 on Amazon Bedrock. Switch to GPT-6 Sol on Amazon Bedrock to continue. "); diff --git a/codex-rs/tui/src/app/tests/navigation_reconnect_tests.rs b/codex-rs/tui/src/app/tests/navigation_reconnect_tests.rs index ca127d70..ffe104d4 100644 --- a/codex-rs/tui/src/app/tests/navigation_reconnect_tests.rs +++ b/codex-rs/tui/src/app/tests/navigation_reconnect_tests.rs @@ -268,7 +268,7 @@ async fn reconnect_daemon_command_center_after_socket_replacement_without_a_conv // A shutdown error can cover the initial command center when its first New fails. if previous_thread.is_none() && overview_initialized { app.show_agents_overview_error( - Some("Codex's background server is shutting down"), + Some("aKode's background server is shutting down"), "Waiting for active turns.".into(), ); } @@ -342,7 +342,7 @@ async fn reconnect_daemon_command_center_after_socket_replacement_without_a_conv if let AppEvent::InsertHistoryCell(cell) = &event { let rendered = lines_to_single_string(&cell.display_lines(/*width*/ 100)); if rendered.contains("Windows sandbox setup was interrupted") { - insta::assert_snapshot!(rendered, @"■ Windows sandbox setup was interrupted. Restart Codex before using Agent mode."); + insta::assert_snapshot!(rendered, @"■ Windows sandbox setup was interrupted. Restart aKode before using Agent mode."); saw_warning = true; continue; } diff --git a/codex-rs/tui/src/app/tests/new_session_tests.rs b/codex-rs/tui/src/app/tests/new_session_tests.rs index 97c000c4..e1ac3838 100644 --- a/codex-rs/tui/src/app/tests/new_session_tests.rs +++ b/codex-rs/tui/src/app/tests/new_session_tests.rs @@ -499,7 +499,7 @@ async fn replacement_uses_server_defaults_and_preserves_explicit_launch_settings let rendered = render_bottom_popup(&app.chat_widget, /*width*/ 140) .replace(&server_config.cwd.display().to_string(), ""); insta::assert_snapshot!(rendered, @r" - › Ask Codex to do anything + › Ask aKode to do anything server-model high · · ← for agents "); diff --git a/codex-rs/tui/src/app/tests/session_lifecycle_requests.rs b/codex-rs/tui/src/app/tests/session_lifecycle_requests.rs index beb4e414..24a5c62d 100644 --- a/codex-rs/tui/src/app/tests/session_lifecycle_requests.rs +++ b/codex-rs/tui/src/app/tests/session_lifecycle_requests.rs @@ -3626,7 +3626,7 @@ async fn underfilled_scrollback_fetches_older_pages_without_opening_the_transcri overlay.set_highlight_cell(Some(0)); let partial = render_overlay(overlay); assert!(partial.contains("Earlier messages available.")); - assert!(!partial.contains("OpenAI Codex")); + assert!(!partial.contains("aKode v")); assert!(!partial.contains("This is a test announcement")); assert!(!partial.contains('%')); @@ -3636,7 +3636,7 @@ async fn underfilled_scrollback_fetches_older_pages_without_opening_the_transcri )?; let loading = render_overlay(overlay); assert!(loading.contains("Loading earlier messages…")); - assert!(!loading.contains("OpenAI Codex")); + assert!(!loading.contains("aKode v")); assert!(!loading.contains('%')); } else { panic!("expected transcript overlay"); diff --git a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__active_reconnect__reconnect_failed.snap b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__active_reconnect__reconnect_failed.snap index 634c3201..a76e679a 100644 --- a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__active_reconnect__reconnect_failed.snap +++ b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__active_reconnect__reconnect_failed.snap @@ -6,6 +6,6 @@ Automatic reconnect timed out while connecting to the server. • Reconnect failed — check the endpoint, then relaunch (0s) -› Ask Codex to do anything +› Ask aKode to do anything ⌃c quit diff --git a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__active_reconnect__unavailable_conversation.snap b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__active_reconnect__unavailable_conversation.snap index 335071a0..b37853d5 100644 --- a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__active_reconnect__unavailable_conversation.snap +++ b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__active_reconnect__unavailable_conversation.snap @@ -3,8 +3,6 @@ source: tui/src/app/tests/active_reconnect_tests.rs expression: "format!(\"{history}\\n{}\",\nrender_bottom_popup(&app.chat_widget,\n80)).replace(&test_path_buf(\"/tmp/project\").display().to_string(),\n\"/tmp/project\")" --- • This conversation is unavailable. Its cached transcript and draft remain here; input is paused. Open the agent picker or return to the parent to continue. -⚠ A background Codex service is running v2.0.0, different from your Codex CLI - v0.0.0. › unavailable draft gpt-test default · /tmp/project diff --git a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__background_exit_tests__embedded_exit_running_sessions.snap b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__background_exit_tests__embedded_exit_running_sessions.snap index 6428314a..013634bf 100644 --- a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__background_exit_tests__embedded_exit_running_sessions.snap +++ b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__background_exit_tests__embedded_exit_running_sessions.snap @@ -4,10 +4,10 @@ assertion_line: 57 expression: "render_bottom_popup(&app.chat_widget, 90)" --- Quit and stop running sessions? -› Ask Cod Quitting this TUI will stop its running sessions. +› Ask aKo Quitting this TUI will stop its running sessions. GPT-5.6 - › 1. Stay in Codex + › 1. Stay in aKode 2. Stop sessions and quit enter select · esc back diff --git a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__background_task_defaults_tests__command_center_daemon_shutting_down.snap b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__background_task_defaults_tests__command_center_daemon_shutting_down.snap index 30b89a09..2e9ef744 100644 --- a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__background_task_defaults_tests__command_center_daemon_shutting_down.snap +++ b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__background_task_defaults_tests__command_center_daemon_shutting_down.snap @@ -3,9 +3,9 @@ source: tui/src/app/tests/background_task_defaults_tests.rs assertion_line: 609 expression: "crate::chatwidget::tests::helpers::render_bottom_popup(&app.chat_widget, 80,)" --- - Codex's background server is shutting down + aKode's background server is shutting down New sessions are paused while active turns finish or are canceled. The - default shutdown wait is up to one minute. If the server restarts, Codex + default shutdown wait is up to one minute. If the server restarts, aKode will reconnect automatically. diff --git a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__background_task_defaults_tests__command_center_embedded_server_shutting_down.snap b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__background_task_defaults_tests__command_center_embedded_server_shutting_down.snap index a45485cb..1564cc03 100644 --- a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__background_task_defaults_tests__command_center_embedded_server_shutting_down.snap +++ b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__background_task_defaults_tests__command_center_embedded_server_shutting_down.snap @@ -3,7 +3,7 @@ source: tui/src/app/tests/background_task_defaults_tests.rs assertion_line: 609 expression: "crate::chatwidget::tests::helpers::render_bottom_popup(&app.chat_widget, 80,)" --- - Codex's background server is shutting down + aKode's background server is shutting down New sessions are paused while active turns finish or are canceled. The default shutdown wait is up to one minute. diff --git a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__background_task_defaults_tests__review_regression_agents_overview_creation_is_fresh_but_returning_is_not.snap b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__background_task_defaults_tests__review_regression_agents_overview_creation_is_fresh_but_returning_is_not.snap index c249adfe..685cf320 100644 --- a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__background_task_defaults_tests__review_regression_agents_overview_creation_is_fresh_but_returning_is_not.snap +++ b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__background_task_defaults_tests__review_regression_agents_overview_creation_is_fresh_but_returning_is_not.snap @@ -4,7 +4,7 @@ expression: "format!(\"created from the dashboard:\\n{}\\nreturned to the existi --- created from the dashboard: ⠈ ⢀ ⠁ ⠂ -›⠁Ask Codex to do anything ⠈ ⠁ +›⠁Ask aKode to do anything ⠈ ⠁ ⢀ ⠠ ⠄ ⠠ ⢀ ⠠ ⡀ returned to the existing task: -› Ask Codex to do anything +› Ask aKode to do anything diff --git a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__buffered_replay__steers_after_returning_to_a_running_turn.snap b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__buffered_replay__steers_after_returning_to_a_running_turn.snap index 0c93d9a3..ea0749c8 100644 --- a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__buffered_replay__steers_after_returning_to_a_running_turn.snap +++ b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__buffered_replay__steers_after_returning_to_a_running_turn.snap @@ -13,6 +13,6 @@ expression: "normalize_snapshot_paths(render_bottom_popup(&app.chat_widget, 80)) ↳ follow-up ⇧← edit last queued message -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project diff --git a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__fresh_sparkle_tests__astra_picker_confirms_the_model_at_application_after_an_automatic_update.snap b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__fresh_sparkle_tests__astra_picker_confirms_the_model_at_application_after_an_automatic_update.snap index 243ad7ae..7c13ea64 100644 --- a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__fresh_sparkle_tests__astra_picker_confirms_the_model_at_application_after_an_automatic_update.snap +++ b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__fresh_sparkle_tests__astra_picker_confirms_the_model_at_application_after_an_automatic_update.snap @@ -3,10 +3,10 @@ source: tui/src/app/tests/fresh_sparkle_tests.rs expression: "snapshots.join(\"\\n\\n\")" --- default no-op: -› Ask Codex to do anything +› Ask aKode to do anything default changes model: ⠈ ⢀ ⠁ ⠂ -›⠁Ask Codex to do anything ⠈ ⠁ +›⠁Ask aKode to do anything ⠈ ⠁ ⢀ ⠠ ⠄ ⠠ ⢀ ⠠ ⡀ diff --git a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__fresh_sparkle_tests__session_only_astra_picker_shows_stars_only_on_an_untouched_task.snap b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__fresh_sparkle_tests__session_only_astra_picker_shows_stars_only_on_an_untouched_task.snap index eaaa3418..8e673d8b 100644 --- a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__fresh_sparkle_tests__session_only_astra_picker_shows_stars_only_on_an_untouched_task.snap +++ b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__fresh_sparkle_tests__session_only_astra_picker_shows_stars_only_on_an_untouched_task.snap @@ -4,8 +4,8 @@ expression: "snapshots.join(\"\\n\\n\")" --- untouched: ⠈ ⢀ ⠁ ⠂ -›⠁Ask Codex to do anything ⠈ ⠁ +›⠁Ask aKode to do anything ⠈ ⠁ ⢀ ⠠ ⠄ ⠠ ⢀ ⠠ ⡀ typed then erased: -› Ask Codex to do anything +› Ask aKode to do anything diff --git a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__marketplace_upgrade_tests__marketplace_upgrade_warning.snap b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__marketplace_upgrade_tests__marketplace_upgrade_warning.snap index 10b4bc79..890a212a 100644 --- a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__marketplace_upgrade_tests__marketplace_upgrade_warning.snap +++ b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__marketplace_upgrade_tests__marketplace_upgrade_warning.snap @@ -15,7 +15,7 @@ Warning notice: -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project ? for shortcuts ⚠ 2 warnings · f2 to view diff --git a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__model_catalog__model_migration_prompt_shows_for_hidden_model.snap b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__model_catalog__model_migration_prompt_shows_for_hidden_model.snap index 856db38d..7fb38048 100644 --- a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__model_catalog__model_migration_prompt_shows_for_hidden_model.snap +++ b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__model_catalog__model_migration_prompt_shows_for_hidden_model.snap @@ -2,7 +2,7 @@ source: tui/src/app/tests/model_catalog.rs expression: model_migration_copy_to_plain_text(©) --- -Codex just got an upgrade. Introducing GPT-5.5. +aKode just got an upgrade. Introducing GPT-5.5. We recommend switching from gpt-5.2 to gpt-5.5. diff --git a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__navigation_reconnect__daemon_command_center_vanished_rename.snap b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__navigation_reconnect__daemon_command_center_vanished_rename.snap index a8997b37..af12ff75 100644 --- a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__navigation_reconnect__daemon_command_center_vanished_rename.snap +++ b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__navigation_reconnect__daemon_command_center_vanished_rename.snap @@ -25,4 +25,4 @@ expression: "render_bottom_popup(&app.chat_widget, 100)" │ │ │ - Service v2.0.0 ≠ Codex CLI v0.0.0 · /daemon + ? help esc back ↑/↓ move enter open n new diff --git a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_buffered_replay_reconciles_captions.snap b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_buffered_replay_reconciles_captions.snap index ab3a8c84..3620d243 100644 --- a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_buffered_replay_reconciles_captions.snap +++ b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_buffered_replay_reconciles_captions.snap @@ -4,14 +4,16 @@ assertion_line: 889 expression: "normalize_voice_snapshot_directory(&rendered, &app.config.cwd)" --- - >_ OpenAI Codex (v0.0.0) - /tmp/project + ▄▄████▄▄ aKode v0.1.0 + ██▀▀██▀▀██ gpt-test · OpenAI + ██▄▄██▄▄██ /tmp/project + ██▀████▀██ To get started, describe a task or try one of these commands: - /init - create an AGENTS.md file with instructions for Codex + /init - create an AGENTS.md file with instructions for aKode /status - show current session configuration - /permissions - choose what Codex is allowed to do + /permissions - choose what aKode is allowed to do /model - choose what model and reasoning effort to use /review - review any changes and find issues diff --git a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_completed_after_thread_switch.snap b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_completed_after_thread_switch.snap index 2ecde209..0b0807c4 100644 --- a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_completed_after_thread_switch.snap +++ b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_completed_after_thread_switch.snap @@ -4,14 +4,16 @@ assertion_line: 1093 expression: "normalize_voice_snapshot_directory(&rendered, &app.config.cwd)" --- - >_ OpenAI Codex (v0.0.0) - /tmp/project + ▄▄████▄▄ aKode v0.1.0 + ██▀▀██▀▀██ gpt-test · OpenAI + ██▄▄██▄▄██ /tmp/project + ██▀████▀██ To get started, describe a task or try one of these commands: - /init - create an AGENTS.md file with instructions for Codex + /init - create an AGENTS.md file with instructions for aKode /status - show current session configuration - /permissions - choose what Codex is allowed to do + /permissions - choose what aKode is allowed to do /model - choose what model and reasoning effort to use /review - review any changes and find issues • Earlier answer diff --git a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_partial_completed_after_thread_switch.snap b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_partial_completed_after_thread_switch.snap index bfd8b46a..08fdf0ed 100644 --- a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_partial_completed_after_thread_switch.snap +++ b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_partial_completed_after_thread_switch.snap @@ -3,25 +3,27 @@ source: tui/src/app/tests/realtime_requests.rs expression: "normalize_voice_snapshot_directory(&format!(\"Other task:\\n{other_ui}\\nRestored owner:\\n{}\\n{rendered}\",\nrender_bottom_popup(&app.chat_widget, 80)), &app.config.cwd,)" --- Other task: -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project Restored owner: voice ● listening f9 mute /voice stop mic ▁▁▁▁▁▁ codex ▁▁▁▁▁▁ -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project - >_ OpenAI Codex (v0.0.0) - /tmp/project + ▄▄████▄▄ aKode v0.1.0 + ██▀▀██▀▀██ gpt-test · OpenAI + ██▄▄██▄▄██ /tmp/project + ██▀████▀██ To get started, describe a task or try one of these commands: - /init - create an AGENTS.md file with instructions for Codex + /init - create an AGENTS.md file with instructions for aKode /status - show current session configuration - /permissions - choose what Codex is allowed to do + /permissions - choose what aKode is allowed to do /model - choose what model and reasoning effort to use /review - review any changes and find issues diff --git a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_replay_reconciles_matching_captions.snap b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_replay_reconciles_matching_captions.snap index 0dfd7333..53110ab9 100644 --- a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_replay_reconciles_matching_captions.snap +++ b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__realtime_requests__voice_replay_reconciles_matching_captions.snap @@ -4,14 +4,16 @@ assertion_line: 716 expression: "normalize_voice_snapshot_directory(&rendered, &app.config.cwd)" --- - >_ OpenAI Codex (v0.0.0) - /tmp/project + ▄▄████▄▄ aKode v0.1.0 + ██▀▀██▀▀██ gpt-test · OpenAI + ██▄▄██▄▄██ /tmp/project + ██▀████▀██ To get started, describe a task or try one of these commands: - /init - create an AGENTS.md file with instructions for Codex + /init - create an AGENTS.md file with instructions for aKode /status - show current session configuration - /permissions - choose what Codex is allowed to do + /permissions - choose what aKode is allowed to do /model - choose what model and reasoning effort to use /review - review any changes and find issues diff --git a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__session_lifecycle_requests__cloud_composer_receipts.snap b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__session_lifecycle_requests__cloud_composer_receipts.snap index b3bda716..38b47339 100644 --- a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__session_lifecycle_requests__cloud_composer_receipts.snap +++ b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__session_lifecycle_requests__cloud_composer_receipts.snap @@ -10,7 +10,7 @@ expression: "rendered_receipts.join(\"\\n\\n\")" • Working (0s • esc to interrupt) -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project @@ -28,7 +28,7 @@ expression: "rendered_receipts.join(\"\\n\\n\")" ↳ follow up ⇧← edit last queued message -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project @@ -47,6 +47,6 @@ expression: "rendered_receipts.join(\"\\n\\n\")" ↳ follow up ⇧← edit last queued message -› Ask Codex to do anything +› Ask aKode to do anything gpt-test default · /tmp/project diff --git a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__session_lifecycle_requests__new_session_tests__widget_replacement_preserves_mention_usage_with_history_disabled.snap b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__session_lifecycle_requests__new_session_tests__widget_replacement_preserves_mention_usage_with_history_disabled.snap index 6a47bf2b..762030a7 100644 --- a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__session_lifecycle_requests__new_session_tests__widget_replacement_preserves_mention_usage_with_history_disabled.snap +++ b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__session_lifecycle_requests__new_session_tests__widget_replacement_preserves_mention_usage_with_history_disabled.snap @@ -2,8 +2,10 @@ source: tui/src/app/tests/new_session_tests.rs expression: "normalize_snapshot_paths(render_bottom_popup(&app.chat_widget, 80))" --- - >_ OpenAI Codex (v0.0.0) - /tmp/project + ▄▄████▄▄ aKode v0.1.0 + ██▀▀██▀▀██ loading · OpenAI + ██▄▄██▄▄██ /tmp/project + ██▀████▀██ › status [Skill] diff --git a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__startup_frame_tests__startup_tip_in_transcript.snap b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__startup_frame_tests__startup_tip_in_transcript.snap index d45000ee..bce7a71d 100644 --- a/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__startup_frame_tests__startup_tip_in_transcript.snap +++ b/codex-rs/tui/src/app/tests/snapshots/codex_tui__app__tests__startup_frame_tests__startup_tip_in_transcript.snap @@ -4,8 +4,10 @@ expression: "normalize_snapshot_paths(normalize_agent_center_snapshot(snapshots. --- 80 columns - >_ OpenAI Codex (v0.0.0) - /tmp/project + ▄▄████▄▄ aKode v0.1.0 + ██▀▀██▀▀██ gpt-test · OpenAI + ██▄▄██▄▄██ /tmp/project + ██▀████▀██ • Conversation continues here. @@ -17,17 +19,17 @@ expression: "normalize_snapshot_paths(normalize_agent_center_snapshot(snapshots. - - -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project ? for shortcuts 32 columns - >_ OpenAI Codex (v0.0.0) - /tmp/project + ▄▄████▄▄ aKode v0.1.0 + ██▀▀██▀▀██ gpt-test · Open… + ██▄▄██▄▄██ /tmp/project + ██▀████▀██ • Conversation continues here. @@ -39,9 +41,7 @@ expression: "normalize_snapshot_paths(normalize_agent_center_snapshot(snapshots. - - -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/pr… ? for shortcuts diff --git a/codex-rs/tui/src/app/tests/startup.rs b/codex-rs/tui/src/app/tests/startup.rs index 87980279..12f7346a 100644 --- a/codex-rs/tui/src/app/tests/startup.rs +++ b/codex-rs/tui/src/app/tests/startup.rs @@ -126,7 +126,7 @@ async fn uncertain_windows_sandbox_setup_keeps_intent_and_input_locked() { if transport_error { insta::assert_snapshot!(rendered, @"■ Windows sandbox setup response was lost. Waiting for completion or reconnection."); } else { - insta::assert_snapshot!(rendered, @"■ Windows sandbox setup request timed out. Waiting for completion; restart Codex if it does not finish."); + insta::assert_snapshot!(rendered, @"■ Windows sandbox setup request timed out. Waiting for completion; restart aKode if it does not finish."); } } } @@ -211,7 +211,7 @@ fn startup_bottom_pane() -> (BottomPane, UnboundedReceiver) { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: true, animations_enabled: true, effects: Default::default(), @@ -1508,7 +1508,7 @@ async fn remote_overview_startup_hides_disabled_older_server_notice() -> Result< app.local_settings.tui.show_server_version_notice = true; app.refresh_server_version_overview_notice("2.1.0"); let rendered = render_bottom_popup(&app.chat_widget, /*width*/ 80); - assert!(rendered.contains("Service v2.0.0 < Codex CLI v2.1.0")); + assert!(rendered.contains("Service v2.0.0 < aKode CLI v2.1.0")); app.pending_server_version_notice = Some(crate::status::remote_connection::ServerVersionNotice { message: "Older service".to_string(), diff --git a/codex-rs/tui/src/app/tests/startup_defaults_tests.rs b/codex-rs/tui/src/app/tests/startup_defaults_tests.rs index 11cddfe4..02024e96 100644 --- a/codex-rs/tui/src/app/tests/startup_defaults_tests.rs +++ b/codex-rs/tui/src/app/tests/startup_defaults_tests.rs @@ -722,7 +722,7 @@ async fn fresh_startup_reads_destination_and_cleared_model_uses_catalog() -> Res let rendered = render_bottom_popup(&app.chat_widget, /*width*/ 80) .replace(&destination.path().display().to_string(), ""); insta::assert_snapshot!(rendered, @r" - › Ask Codex to do anything + › Ask aKode to do anything GPT-6.1-Sol high · "); diff --git a/codex-rs/tui/src/app/tests/startup_frame_tests.rs b/codex-rs/tui/src/app/tests/startup_frame_tests.rs index ad24c723..eca5064f 100644 --- a/codex-rs/tui/src/app/tests/startup_frame_tests.rs +++ b/codex-rs/tui/src/app/tests/startup_frame_tests.rs @@ -160,7 +160,7 @@ async fn owned_startup_preserves_loading_until_resume_replay_is_applied() -> Res if has_answer { assert!(rendered.contains("Retained answer after resume.")); } else { - assert!(rendered.contains("OpenAI Codex")); + assert!(rendered.contains("aKode v")); } tui.set_owned_screen(/*owned*/ false)?; app_server.shutdown().await?; diff --git a/codex-rs/tui/src/app/tests/worktree_background_terminals_tests.rs b/codex-rs/tui/src/app/tests/worktree_background_terminals_tests.rs index 71351534..50b5e5db 100644 --- a/codex-rs/tui/src/app/tests/worktree_background_terminals_tests.rs +++ b/codex-rs/tui/src/app/tests/worktree_background_terminals_tests.rs @@ -29,7 +29,7 @@ fn old_local_daemon_worktree_error_suggests_update() -> Result<()> { let cell = crate::history_cell::new_error_event(message.to_string()); insta::assert_snapshot!( lines_to_single_string(&cell.display_lines(/*width*/ 120)), - @"■ The local Codex service cannot check background terminals. Run `codex app-server daemon update`, then restart Codex." + @"■ The local aKode service cannot check background terminals. Run `codex app-server daemon update`, then restart aKode." ); assert_eq!( managed_worktree_creation::background_terminals_blocker( diff --git a/codex-rs/tui/src/app/transcript_export.rs b/codex-rs/tui/src/app/transcript_export.rs index 00775bba..caac9fc1 100644 --- a/codex-rs/tui/src/app/transcript_export.rs +++ b/codex-rs/tui/src/app/transcript_export.rs @@ -227,7 +227,7 @@ fn visible_export_items(turns: Vec) -> Vec { } fn render_markdown_transcript(cells: &[Arc]) -> Result { - let mut markdown = String::from("# Codex conversation\n"); + let mut markdown = String::from("# aKode conversation\n"); for cell in cells { let lines = if let Some(user) = cell.as_any().downcast_ref::() { let (message, _) = @@ -289,7 +289,7 @@ fn render_markdown_transcript(cells: &[Arc]) -> Result UserVerificationFailure { let TypedRequestError::Server { source, .. } = error else { return UserVerificationFailure { - message: "Could not complete user verification with the local Codex binary.", + message: "Could not complete user verification with the local aKode binary.", details: UserVerificationErrorDetails::Failed { reason: UserVerificationFailureReason::ServiceError, }, @@ -25,10 +25,10 @@ pub(super) fn verification_failure(error: &TypedRequestError) -> UserVerificatio let message = match details { Some(UserVerificationErrorDetails::InvalidRequest { reason: UserVerificationInvalidRequestReason::InvalidParams, - }) => "The local Codex binary could not verify this request.", + }) => "The local aKode binary could not verify this request.", Some(UserVerificationErrorDetails::Unavailable { reason: UserVerificationUnavailableReason::CredentialMissing, - }) => "No user-verification credential is available in the local Codex binary.", + }) => "No user-verification credential is available in the local aKode binary.", Some(UserVerificationErrorDetails::Unavailable { reason: UserVerificationUnavailableReason::BiometricsUnavailable, }) => "Biometric verification is currently unavailable on this device.", @@ -53,7 +53,7 @@ pub(super) fn verification_failure(error: &TypedRequestError) -> UserVerificatio | Some(UserVerificationErrorDetails::Failed { reason: UserVerificationFailureReason::ServiceError, }) - | None => "The local Codex binary could not complete user verification.", + | None => "The local aKode binary could not complete user verification.", }; UserVerificationFailure { message, diff --git a/codex-rs/tui/src/app/user_verification_errors_tests.rs b/codex-rs/tui/src/app/user_verification_errors_tests.rs index 9e7bb5a9..d9b67b85 100644 --- a/codex-rs/tui/src/app/user_verification_errors_tests.rs +++ b/codex-rs/tui/src/app/user_verification_errors_tests.rs @@ -14,7 +14,7 @@ fn user_verification_errors_use_typed_reasons_without_raw_provider_diagnostics() }; assert_eq!( verification_failure(&error).message, - "No user-verification credential is available in the local Codex binary." + "No user-verification credential is available in the local aKode binary." ); let malformed = TypedRequestError::Server { method: "userVerification/verify".to_string(), @@ -28,7 +28,7 @@ fn user_verification_errors_use_typed_reasons_without_raw_provider_diagnostics() }; assert_eq!( verification_failure(&malformed).message, - "The local Codex binary could not complete user verification." + "The local aKode binary could not complete user verification." ); } diff --git a/codex-rs/tui/src/app/user_verification_tests.rs b/codex-rs/tui/src/app/user_verification_tests.rs index ec21bb94..37760b71 100644 --- a/codex-rs/tui/src/app/user_verification_tests.rs +++ b/codex-rs/tui/src/app/user_verification_tests.rs @@ -315,7 +315,7 @@ async fn run_verification_rpc_scenario(scenario: RpcScenario) -> color_eyre::Res let message = if scenario == RpcScenario::RemoteWorkspace { "User verification is unavailable for remote workspaces." } else { - "The local Codex binary could not complete user verification." + "The local aKode binary could not complete user verification." }; let ServerNotification::Warning(warning) = notification.as_ref() else { panic!("expected warning notification"); diff --git a/codex-rs/tui/src/app_server_connection.rs b/codex-rs/tui/src/app_server_connection.rs index cfb203e6..53fe2192 100644 --- a/codex-rs/tui/src/app_server_connection.rs +++ b/codex-rs/tui/src/app_server_connection.rs @@ -17,7 +17,7 @@ use codex_utils_absolute_path::AbsolutePathBuf; pub(crate) async fn connect(target: &AppServerTarget) -> color_eyre::Result { match target { AppServerTarget::Cloud => { - color_eyre::eyre::bail!("Reopen Codex to reconnect the cloud backend."); + color_eyre::eyre::bail!("Reopen aKode to reconnect the cloud backend."); } AppServerTarget::Embedded => { color_eyre::eyre::bail!("embedded sessions have no remote connection") diff --git a/codex-rs/tui/src/bottom_pane/approval_overlay.rs b/codex-rs/tui/src/bottom_pane/approval_overlay.rs index 46fd8ef4..689733c6 100644 --- a/codex-rs/tui/src/bottom_pane/approval_overlay.rs +++ b/codex-rs/tui/src/bottom_pane/approval_overlay.rs @@ -936,7 +936,7 @@ fn exec_options( shortcuts: keymap.deny.clone(), }), CommandExecutionApprovalDecision::Cancel => Some(ApprovalOption { - label: "No, and tell Codex what to do differently".to_string(), + label: "No, and tell aKode what to do differently".to_string(), decision: ApprovalDecision::Command(CommandExecutionApprovalDecision::Cancel), shortcuts: keymap.decline.clone(), }), @@ -1052,7 +1052,7 @@ fn patch_options(keymap: &ApprovalKeymap) -> Vec { shortcuts: keymap.approve_for_session.clone(), }, ApprovalOption { - label: "No, and tell Codex what to do differently".to_string(), + label: "No, and tell aKode what to do differently".to_string(), decision: ApprovalDecision::FileChange(FileChangeApprovalDecision::Cancel), shortcuts: keymap.decline.clone(), }, @@ -1884,7 +1884,7 @@ mod tests { "Yes, just this once".to_string(), "Yes, and allow this host for this conversation".to_string(), "Yes, and allow this host in the future".to_string(), - "No, and tell Codex what to do differently".to_string(), + "No, and tell aKode what to do differently".to_string(), ] ); } @@ -1909,7 +1909,7 @@ mod tests { vec![ "Yes, proceed".to_string(), "Yes, and don't ask again for this command in this session".to_string(), - "No, and tell Codex what to do differently".to_string(), + "No, and tell aKode what to do differently".to_string(), ] ); } @@ -1942,7 +1942,7 @@ mod tests { labels, vec![ "Yes, proceed".to_string(), - "No, and tell Codex what to do differently".to_string(), + "No, and tell aKode what to do differently".to_string(), ] ); } diff --git a/codex-rs/tui/src/bottom_pane/approval_overlay/snapshots/codex_tui__bottom_pane__approval_overlay__clipping_tests__clipped_exec_approval_opens_the_complete_command.snap b/codex-rs/tui/src/bottom_pane/approval_overlay/snapshots/codex_tui__bottom_pane__approval_overlay__clipping_tests__clipped_exec_approval_opens_the_complete_command.snap index 5756e844..30b68a6b 100644 --- a/codex-rs/tui/src/bottom_pane/approval_overlay/snapshots/codex_tui__bottom_pane__approval_overlay__clipping_tests__clipped_exec_approval_opens_the_complete_command.snap +++ b/codex-rs/tui/src/bottom_pane/approval_overlay/snapshots/codex_tui__bottom_pane__approval_overlay__clipping_tests__clipped_exec_approval_opens_the_complete_command.snap @@ -15,7 +15,7 @@ bound=true 80x14 requiring review.A reason requiring review.A reason requiring review.A [… 34 lines] ⌃g view all › 1. Yes, proceed (y) - 2. No, and tell Codex what to do differently (esc) + 2. No, and tell aKode what to do differently (esc) Press enter to confirm or esc to cancel bound=true 40x10 @@ -25,7 +25,7 @@ bound=true 40x10 [… 43 lines] ⌃g view all › 1. Yes, proceed (y) - 2. No, and tell Codex what to do + 2. No, and tell aKode what to do differently (esc) Press enter to confirm or esc to cancel @@ -35,7 +35,7 @@ bound=true 40x8 Would you like to run the following [… 43 lines] ⌃g view all › 1. Yes, proceed (y) - 2. No, and tell Codex what to do + 2. No, and tell aKode what to do differently (esc) Press enter to confirm or esc to cancel @@ -44,7 +44,7 @@ bound=true 40x7 [… 43 lines] ⌃g view all › 1. Yes, proceed (y) - 2. No, and tell Codex what to do + 2. No, and tell aKode what to do differently (esc) Press enter to confirm or esc to cancel @@ -62,7 +62,7 @@ bound=false 80x14 requiring review.A reason requiring review.A reason requiring review.A [… 34 lines] › 1. Yes, proceed (y) - 2. No, and tell Codex what to do differently (esc) + 2. No, and tell aKode what to do differently (esc) Press enter to confirm or esc to cancel bound=false 40x10 @@ -72,7 +72,7 @@ bound=false 40x10 [… 43 lines] › 1. Yes, proceed (y) - 2. No, and tell Codex what to do + 2. No, and tell aKode what to do differently (esc) Press enter to confirm or esc to cancel @@ -82,7 +82,7 @@ bound=false 40x8 Would you like to run the following [… 43 lines] › 1. Yes, proceed (y) - 2. No, and tell Codex what to do + 2. No, and tell aKode what to do differently (esc) Press enter to confirm or esc to cancel @@ -91,7 +91,7 @@ bound=false 40x7 [… 43 lines] › 1. Yes, proceed (y) - 2. No, and tell Codex what to do + 2. No, and tell aKode what to do differently (esc) Press enter to confirm or esc to cancel diff --git a/codex-rs/tui/src/bottom_pane/chat_composer.rs b/codex-rs/tui/src/bottom_pane/chat_composer.rs index d69e2d76..e03fd2df 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer.rs +++ b/codex-rs/tui/src/bottom_pane/chat_composer.rs @@ -5044,7 +5044,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ), rx, @@ -5091,7 +5091,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -5145,7 +5145,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_footer_hint_override(Some(vec![("K".to_string(), "label".to_string())])); @@ -5183,7 +5183,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_footer_hint_override(Some(vec![("K".to_string(), "label".to_string())])); @@ -5232,7 +5232,7 @@ mod tests { /*has_input_focus*/ true, sender, enhanced_keys_supported, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); setup(&mut composer); @@ -5407,7 +5407,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); let area = Rect::new(0, 0, 40, 5); @@ -5429,7 +5429,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_status_line_enabled(/*enabled*/ true); @@ -5488,7 +5488,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_text_content_with_mention_bindings( @@ -5516,7 +5516,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_text_content_with_mention_bindings( @@ -5567,7 +5567,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_text_content_with_mention_bindings( @@ -5603,7 +5603,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); let url = "https://github.com/openai/codex/pull/20252"; @@ -5709,7 +5709,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -5738,7 +5738,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -6007,7 +6007,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -6036,7 +6036,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_vim_enabled(/*enabled*/ true); @@ -6099,7 +6099,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ true, ); composer.set_vim_enabled(/*enabled*/ true); @@ -6131,7 +6131,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ true, ); composer.set_vim_enabled(/*enabled*/ true); @@ -6166,7 +6166,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ true, ); composer.set_collaboration_modes_enabled(/*enabled*/ true); @@ -6212,7 +6212,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ true, ); composer.set_vim_enabled(/*enabled*/ true); @@ -6243,7 +6243,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ true, ); composer.set_vim_enabled(/*enabled*/ true); @@ -6268,7 +6268,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -6292,7 +6292,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -6318,7 +6318,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -6386,7 +6386,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -6419,7 +6419,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_steer_enabled(/*enabled*/ true); @@ -6460,7 +6460,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_steer_enabled(/*enabled*/ true); @@ -6494,7 +6494,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_steer_enabled(/*enabled*/ true); @@ -6525,7 +6525,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_vim_enabled(/*enabled*/ true); @@ -6565,7 +6565,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); let area = Rect::new(0, 0, 80, 10); @@ -6601,7 +6601,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -6647,7 +6647,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); let remote_image_url = "https://example.com/one.png".to_string(); @@ -6689,7 +6689,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -6732,7 +6732,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -6772,7 +6772,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_steer_enabled(true); @@ -6798,7 +6798,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -6828,7 +6828,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_text_content("$".to_string(), Vec::new(), Vec::new()); @@ -7533,7 +7533,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_text_content("$".to_string(), Vec::new(), Vec::new()); @@ -7571,7 +7571,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_text_content("$goog".to_string(), Vec::new(), Vec::new()); @@ -7881,7 +7881,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -8127,7 +8127,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -8154,7 +8154,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -8187,7 +8187,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -8230,7 +8230,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -8271,7 +8271,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -8315,7 +8315,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -8364,7 +8364,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_plugin_mentions(Some(vec![PluginCapabilitySummary { @@ -8416,7 +8416,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -8448,7 +8448,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_mentions_v2_enabled(/*enabled*/ true); @@ -8484,7 +8484,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -8515,7 +8515,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -8539,7 +8539,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -8573,7 +8573,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -8622,7 +8622,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -8710,7 +8710,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -8755,7 +8755,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -8785,7 +8785,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -8821,7 +8821,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -8854,7 +8854,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -8885,7 +8885,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -8914,7 +8914,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -8948,7 +8948,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_steer_enabled(true); @@ -8976,7 +8976,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_steer_enabled(true); @@ -9018,7 +9018,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_steer_enabled(false); @@ -9063,7 +9063,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -9104,7 +9104,7 @@ mod tests { /*has_input_focus*/ true, sender.clone(), /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -9210,7 +9210,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -9247,7 +9247,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); type_chars_humanlike(&mut composer, &input.chars().collect::>()); @@ -9273,7 +9273,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_service_tier_commands_enabled(/*enabled*/ true); @@ -9348,7 +9348,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -9400,7 +9400,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_steer_enabled(true); @@ -9453,7 +9453,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.draft.textarea.insert_str("restore me"); @@ -9491,7 +9491,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_task_running(/*running*/ true); @@ -9535,7 +9535,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_queue_submissions(/*queue_submissions*/ true); @@ -9571,7 +9571,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_task_running(/*running*/ true); @@ -9620,7 +9620,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer @@ -9656,7 +9656,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_task_running(/*running*/ true); @@ -9689,7 +9689,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); let mut keymap = RuntimeKeymap::defaults(); @@ -9715,7 +9715,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_task_running(/*running*/ true); @@ -9753,7 +9753,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_task_running(/*running*/ true); @@ -9799,7 +9799,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -9827,7 +9827,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_task_running(/*running*/ true); @@ -9857,7 +9857,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -9882,7 +9882,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -9926,7 +9926,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_collaboration_modes_enabled(/*enabled*/ true); @@ -9948,7 +9948,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_collaboration_modes_enabled(/*enabled*/ true); @@ -9969,7 +9969,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -10001,7 +10001,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -10029,7 +10029,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_task_running(/*running*/ false); @@ -10058,7 +10058,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -10085,7 +10085,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -10135,7 +10135,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_collaboration_modes_enabled(/*enabled*/ true); @@ -10173,7 +10173,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -10440,7 +10440,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -10519,7 +10519,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -10596,7 +10596,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -10638,7 +10638,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -10683,7 +10683,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -10720,7 +10720,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -10769,7 +10769,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); let path = PathBuf::from("/tmp/image1.png"); @@ -10807,7 +10807,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -10841,7 +10841,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); let remote_image_url = "https://example.com/remote.png".to_string(); @@ -10875,7 +10875,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); let remote_image_urls = vec![ @@ -10907,7 +10907,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -10962,7 +10962,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_text_content("hello".to_string(), Vec::new(), Vec::new()); @@ -10994,7 +10994,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -11028,7 +11028,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -11060,7 +11060,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -11095,7 +11095,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -11120,7 +11120,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -11163,7 +11163,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -11206,7 +11206,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -11249,7 +11249,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -11302,7 +11302,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); let path = PathBuf::from("/tmp/image2.png"); @@ -11341,7 +11341,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); let path = PathBuf::from("/tmp/image_dup.png"); @@ -11370,7 +11370,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); let path = PathBuf::from("/tmp/image3.png"); @@ -11413,7 +11413,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -11439,7 +11439,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -11499,7 +11499,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -11562,7 +11562,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -11603,7 +11603,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -11627,7 +11627,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -11664,7 +11664,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -11842,7 +11842,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -11871,7 +11871,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -11918,7 +11918,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -11957,7 +11957,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -11990,7 +11990,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -12020,7 +12020,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -12063,7 +12063,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -12088,7 +12088,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -12113,7 +12113,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_collaboration_modes_enabled(/*enabled*/ true); @@ -12147,7 +12147,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -12191,7 +12191,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_text_content("!git status".to_string(), Vec::new(), Vec::new()); @@ -12211,7 +12211,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_text_content("!git status".to_string(), Vec::new(), Vec::new()); @@ -12231,7 +12231,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_text_content("git status".to_string(), Vec::new(), Vec::new()); @@ -12251,7 +12251,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -12279,7 +12279,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -12313,7 +12313,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -12339,7 +12339,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -12366,7 +12366,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -12397,7 +12397,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -12418,7 +12418,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -12443,7 +12443,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -12480,7 +12480,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -12500,7 +12500,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -12545,7 +12545,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -12582,7 +12582,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/footer_state_tests.rs b/codex-rs/tui/src/bottom_pane/chat_composer/footer_state_tests.rs index e3d556c4..d62b72e2 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/footer_state_tests.rs +++ b/codex-rs/tui/src/bottom_pane/chat_composer/footer_state_tests.rs @@ -14,7 +14,7 @@ fn composer() -> ChatComposer { /*has_input_focus*/ true, AppEventSender::new(tx), /*enhanced_keys_supported*/ false, - "Ask Codex".to_string(), + "Ask aKode".to_string(), /*disable_paste_burst*/ true, ); composer.set_status_line_enabled(/*enabled*/ true); diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/history_search.rs b/codex-rs/tui/src/bottom_pane/chat_composer/history_search.rs index 7c55cf93..2848cbd8 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/history_search.rs +++ b/codex-rs/tui/src/bottom_pane/chat_composer/history_search.rs @@ -558,7 +558,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -609,7 +609,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -642,7 +642,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer @@ -667,7 +667,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -700,7 +700,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer @@ -723,7 +723,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_text_content("draft".to_string(), Vec::new(), Vec::new()); @@ -781,7 +781,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer @@ -819,7 +819,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer @@ -848,7 +848,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.history.record_local_submission(HistoryEntry::new( @@ -909,7 +909,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer @@ -980,7 +980,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer @@ -1050,7 +1050,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer @@ -1079,7 +1079,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer @@ -1118,7 +1118,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -1149,7 +1149,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); @@ -1184,7 +1184,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer @@ -1217,7 +1217,7 @@ mod tests { /*has_input_focus*/ true, sender, /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/history_search_paste_tests.rs b/codex-rs/tui/src/bottom_pane/chat_composer/history_search_paste_tests.rs index 2c9392fb..9cd7e1b9 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/history_search_paste_tests.rs +++ b/codex-rs/tui/src/bottom_pane/chat_composer/history_search_paste_tests.rs @@ -22,7 +22,7 @@ fn composer_with_history() -> ChatComposer { /*has_input_focus*/ true, AppEventSender::new(tx), /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); for entry in ["git status", "git log"] { diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/mentions_layout_tests.rs b/codex-rs/tui/src/bottom_pane/chat_composer/mentions_layout_tests.rs index 6266b1f5..e4fed869 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/mentions_layout_tests.rs +++ b/codex-rs/tui/src/bottom_pane/chat_composer/mentions_layout_tests.rs @@ -11,7 +11,7 @@ fn composer() -> ChatComposer { /*has_input_focus*/ true, AppEventSender::new(tx), /*enhanced_keys_supported*/ false, - "Ask Codex".to_string(), + "Ask aKode".to_string(), /*disable_paste_burst*/ true, ); composer.set_status_line_enabled(/*enabled*/ true); diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs b/codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs index 597e48be..2d68d3bb 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs +++ b/codex-rs/tui/src/bottom_pane/chat_composer/slash_input.rs @@ -613,7 +613,7 @@ mod tests { /*has_input_focus*/ true, AppEventSender::new(tx), /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ) } diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__footer_state__tests__transcript_find_copy_footer.snap b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__footer_state__tests__transcript_find_copy_footer.snap index fc52d461..535e5f59 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__footer_state__tests__transcript_find_copy_footer.snap +++ b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__footer_state__tests__transcript_find_copy_footer.snap @@ -3,7 +3,7 @@ source: tui/src/bottom_pane/chat_composer/footer_state_tests.rs expression: text(&buffer) --- -› Ask Codex +› Ask aKode Find: needle Copied selection to clipboard diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__snapshot_tests__voice_composer.snap b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__snapshot_tests__voice_composer.snap index 3b893098..ff176b75 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__snapshot_tests__voice_composer.snap +++ b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__snapshot_tests__voice_composer.snap @@ -5,6 +5,6 @@ expression: rows voice ● listening /voice mute /voice stop -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__a_fresh_astra_response_waits_for_the_pending_command_to_leave.snap b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__a_fresh_astra_response_waits_for_the_pending_command_to_leave.snap index 6697092d..b0d27c05 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__a_fresh_astra_response_waits_for_the_pending_command_to_leave.snap +++ b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__a_fresh_astra_response_waits_for_the_pending_command_to_leave.snap @@ -13,6 +13,6 @@ command during startup: after command: ⠈ ⢀ ⠁ ⠂ -›⠁Ask Codex to do anything ⠈ ⠁ +›⠁Ask aKode to do anything ⠈ ⠁ ⢀ ⠠ ⠄ ⠠ ⢀ ⠠ ⡀ ? for shortcuts 100% context left diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__canceled_history_search_restores_visible_stars_only_before_the_original_deadline.snap b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__canceled_history_search_restores_visible_stars_only_before_the_original_deadline.snap index baa784f4..bc8acd15 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__canceled_history_search_restores_visible_stars_only_before_the_original_deadline.snap +++ b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__canceled_history_search_restores_visible_stars_only_before_the_original_deadline.snap @@ -5,7 +5,7 @@ expression: "snapshots.join(\"\\n\\n\")" expires while open: false initial: ⠈ ⢀ ⠁ ⠂ -›⠁Ask Codex to do anything ⠈ ⠁ +›⠁Ask aKode to do anything ⠈ ⠁ ⢀ ⠠ ⠄ ⠠ ⢀ ⠠ ⡀ ? for shortcuts 100% context left searching: @@ -15,14 +15,14 @@ searching: reverse-i-search: stored enter accept · esc cancel after escape: ⠁ ⡀ ⠄ ⠄ ⠄ -› Ask Codex to do anything ⠈ +› Ask aKode to do anything ⠈ ⠠ ⠠ ⢀ ⢀ ⡀ ⠄ ? for shortcuts 100% context left expires while open: true initial: ⠈ ⢀ ⠁ ⠂ -›⠁Ask Codex to do anything ⠈ ⠁ +›⠁Ask aKode to do anything ⠈ ⠁ ⢀ ⠠ ⠄ ⠠ ⢀ ⠠ ⡀ ? for shortcuts 100% context left searching: @@ -32,6 +32,6 @@ searching: reverse-i-search: stored enter accept · esc cancel after escape: -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__cleared_recovered_draft_keeps_sparkle_dismissed.snap b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__cleared_recovered_draft_keeps_sparkle_dismissed.snap index 5cac0792..5099dfc5 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__cleared_recovered_draft_keeps_sparkle_dismissed.snap +++ b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__cleared_recovered_draft_keeps_sparkle_dismissed.snap @@ -4,6 +4,6 @@ assertion_line: 900 expression: "text(&draw(&pane.composer, 80, now).0)" --- -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__disconnected_sparkle_edits_are_tracked_between_renders.snap b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__disconnected_sparkle_edits_are_tracked_between_renders.snap index 0c60de5e..39f10fb3 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__disconnected_sparkle_edits_are_tracked_between_renders.snap +++ b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__disconnected_sparkle_edits_are_tracked_between_renders.snap @@ -5,23 +5,23 @@ expression: "snapshots.join(\"\\n\\n\")" gpt-6-astra before disconnect: ⠈ ⢀ ⠁ ⠂ -›⠁Ask Codex to do anything ⠈ ⠁ +›⠁Ask aKode to do anything ⠈ ⠁ ⢀ ⠠ ⠄ ⠠ ⢀ ⠠ ⡀ ? for shortcuts 100% context left after typing and erasing without rendering: -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left gpt-5.5 before disconnect: -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left after typing and erasing without rendering: -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__history_search_acceptance_and_cancellation_update_sparkles_before_rendering.snap b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__history_search_acceptance_and_cancellation_update_sparkles_before_rendering.snap index a671d9f4..ba645736 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__history_search_acceptance_and_cancellation_update_sparkles_before_rendering.snap +++ b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__history_search_acceptance_and_cancellation_update_sparkles_before_rendering.snap @@ -4,12 +4,12 @@ expression: "snapshots.join(\"\\n\\n\")" --- accept: -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left escape: ⠈ ⢀ ⠁ ⠂ -›⠁Ask Codex to do anything ⠈ ⠁ +›⠁Ask aKode to do anything ⠈ ⠁ ⢀ ⠠ ⠄ ⠠ ⢀ ⠠ ⡀ ? for shortcuts 100% context left diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__history_search_preserves_a_held_sparkle_command_without_reclassifying_it.snap b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__history_search_preserves_a_held_sparkle_command_without_reclassifying_it.snap index 80bcb14f..6550babe 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__history_search_preserves_a_held_sparkle_command_without_reclassifying_it.snap +++ b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__history_search_preserves_a_held_sparkle_command_without_reclassifying_it.snap @@ -10,12 +10,12 @@ searching with an explicit pasted query: reverse-i-search: history enter accept · esc cancel after canceling and erasing the slash: ⠁ ⡀ ⠄ ⠄ ⠄ -› Ask Codex to do anything ⠈ +› Ask aKode to do anything ⠈ ⠠ ⠠ ⢀ ⢀ ⡀ ⠄ ? for shortcuts 100% context left after /model selects Astra: ⠁ ⡀ ⠄ ⠄ ⠄ -› Ask Codex to do anything ⠈ +› Ask aKode to do anything ⠈ ⠠ ⠠ ⢀ ⢀ ⡀ ⠄ ? for shortcuts 100% context left @@ -27,11 +27,11 @@ searching with an explicit pasted query: reverse-i-search: history enter accept · esc cancel after canceling and erasing the slash: -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left after /model selects Astra: ⠈ ⢀ ⠁ ⠂ -›⠁Ask Codex to do anything ⠈ ⠁ +›⠁Ask aKode to do anything ⠈ ⠁ ⢀ ⠠ ⠄ ⠠ ⢀ ⠠ ⡀ ? for shortcuts 100% context left diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__review_regression_canceling_a_held_slash_restores_sparkle_command_tracking.snap b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__review_regression_canceling_a_held_slash_restores_sparkle_command_tracking.snap index 03016763..3933fd72 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__review_regression_canceling_a_held_slash_restores_sparkle_command_tracking.snap +++ b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__review_regression_canceling_a_held_slash_restores_sparkle_command_tracking.snap @@ -5,23 +5,23 @@ expression: "snapshots.join(\"\\n\\n\")" gpt-6-astra after immediately canceling the held slash: ⠈ ⢀ ⠁ ⠂ -›⠁Ask Codex to do anything ⠈ ⠁ +›⠁Ask aKode to do anything ⠈ ⠁ ⢀ ⠠ ⠄ ⠠ ⢀ ⠠ ⡀ ? for shortcuts 100% context left after /model: ⠈ ⢀ ⠁ ⠂ -›⠁Ask Codex to do anything ⠈ ⠁ +›⠁Ask aKode to do anything ⠈ ⠁ ⢀ ⠠ ⠄ ⠠ ⢀ ⠠ ⡀ ? for shortcuts 100% context left gpt-5.5 after immediately canceling the held slash: -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left after /model: ⠈ ⢀ ⠁ ⠂ -›⠁Ask Codex to do anything ⠈ ⠁ +›⠁Ask aKode to do anything ⠈ ⠁ ⢀ ⠠ ⠄ ⠠ ⢀ ⠠ ⡀ ? for shortcuts 100% context left diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__shortcut_help_hides_visible_sparkles_without_restarting_their_deadline.snap b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__shortcut_help_hides_visible_sparkles_without_restarting_their_deadline.snap index 8a719ad0..36be1d39 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__shortcut_help_hides_visible_sparkles_without_restarting_their_deadline.snap +++ b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__shortcut_help_hides_visible_sparkles_without_restarting_their_deadline.snap @@ -5,7 +5,7 @@ expression: "snapshots.join(\"\\n\\n\")" expires during help: false initial: ⠈ ⢀ ⠁ ⠂ -›⠁Ask Codex to do anything ⠈ ⠁ +›⠁Ask aKode to do anything ⠈ ⠁ ⢀ ⠠ ⠄ ⠠ ⢀ ⠠ ⡀ ? for shortcuts 100% context left shortcut help: @@ -29,19 +29,19 @@ shortcut help: /keymap customize -› Ask Codex to do anything +› Ask aKode to do anything ? / esc close after closing: ⠁ ⡀ ⠄ ⠄ ⠄ -› Ask Codex to do anything ⠈ +› Ask aKode to do anything ⠈ ⠠ ⠠ ⢀ ⢀ ⡀ ⠄ ? for shortcuts 100% context left expires during help: true initial: ⠈ ⢀ ⠁ ⠂ -›⠁Ask Codex to do anything ⠈ ⠁ +›⠁Ask aKode to do anything ⠈ ⠁ ⢀ ⠠ ⠄ ⠠ ⢀ ⠠ ⡀ ? for shortcuts 100% context left shortcut help: @@ -65,11 +65,11 @@ shortcut help: /keymap customize -› Ask Codex to do anything +› Ask aKode to do anything ? / esc close after closing: -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__shortcut_help_preserves_an_unused_sparkle_but_literal_question_marks_do_not.snap b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__shortcut_help_preserves_an_unused_sparkle_but_literal_question_marks_do_not.snap index d945b432..e5dce392 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__shortcut_help_preserves_an_unused_sparkle_but_literal_question_marks_do_not.snap +++ b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__shortcut_help_preserves_an_unused_sparkle_but_literal_question_marks_do_not.snap @@ -23,13 +23,13 @@ shortcut help: /keymap customize -› Ask Codex to do anything +› Ask aKode to do anything ? / esc close after /model selects Astra: ⠈ ⢀ ⠁ ⠂ -›⠁Ask Codex to do anything ⠈ ⠁ +›⠁Ask aKode to do anything ⠈ ⠁ ⢀ ⠠ ⠄ ⠠ ⢀ ⠠ ⡀ ? for shortcuts 100% context left @@ -41,6 +41,6 @@ literal pasted question mark: after clearing and selecting Astra: -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__sparkle_fades_without_adding_dots_and_finishes_by_fifteen_seconds.snap b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__sparkle_fades_without_adding_dots_and_finishes_by_fifteen_seconds.snap index 0cfba1ed..9a814702 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__sparkle_fades_without_adding_dots_and_finishes_by_fifteen_seconds.snap +++ b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__sparkle_fades_without_adding_dots_and_finishes_by_fifteen_seconds.snap @@ -4,16 +4,16 @@ expression: "format!(\"before fade:\\n{}\\nfading:\\n{}\\nfinished:\\n{}\", text --- before fade: ⠁ ⠄ ⢀ ⠈ ⠁ ⡀ ⠂ ⠄ -› Ask Codex to do anything ⠈ ⠈ ⠂ ⠁ ⠂ +› Ask aKode to do anything ⠈ ⠈ ⠂ ⠁ ⠂ ⢀⠐ ⠄ ⠄ ⢀ ⠠ ⠄ ? for shortcuts 100% context left fading: ⠁ ⠄ ⢀ ⠈ ⠁ ⡀ ⠂ ⠄ -› Ask Codex to do anything ⠈ ⠈ ⠂ ⠁ +› Ask aKode to do anything ⠈ ⠈ ⠂ ⠁ ⠐ ⠄ ⠄ ⢀ ⠠ ⠄ ? for shortcuts 100% context left finished: -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__sparkle_matches_the_original_starfield_and_protects_the_placeholder_and_cursor.snap b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__sparkle_matches_the_original_starfield_and_protects_the_placeholder_and_cursor.snap index 9edbf115..f65c967c 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__sparkle_matches_the_original_starfield_and_protects_the_placeholder_and_cursor.snap +++ b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__sparkle__tests__sparkle_matches_the_original_starfield_and_protects_the_placeholder_and_cursor.snap @@ -4,7 +4,7 @@ expression: "snapshots.join(\"\\n\\n\")" --- 40 columns, cursor Some((2, 1)) ⠈ ⢀ -›⠁Ask Codex to do anything ⠈ +›⠁Ask aKode to do anything ⠈ ⢀ ⠠ ⠄ ⠠ ? for shortcuts 100% context left first input: @@ -15,7 +15,7 @@ first input: 80 columns, cursor Some((2, 1)) ⠈ ⢀ ⠁ ⠂ -›⠁Ask Codex to do anything ⠈ ⠁ +›⠁Ask aKode to do anything ⠈ ⠁ ⢀ ⠠ ⠄ ⠠ ⢀ ⠠ ⡀ ? for shortcuts 100% context left first input: diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__status_surface__tests__activity_shortcut_help_follows_runtime_binding.snap b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__status_surface__tests__activity_shortcut_help_follows_runtime_binding.snap index 14aa0c1c..9d8dcbba 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__status_surface__tests__activity_shortcut_help_follows_runtime_binding.snap +++ b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__status_surface__tests__activity_shortcut_help_follows_runtime_binding.snap @@ -25,7 +25,7 @@ expression: "snapshots.join(\"\\n---\\n\")" /keymap customize -› Ask Codex +› Ask aKode MODEL · ~/project · Context 20% used ? / esc close @@ -53,7 +53,7 @@ expression: "snapshots.join(\"\\n---\\n\")" /keymap customize -› Ask Codex +› Ask aKode MODEL · ~/project · Context 20% used ? / esc close @@ -81,7 +81,7 @@ expression: "snapshots.join(\"\\n---\\n\")" /keymap customize -› Ask Codex +› Ask aKode MODEL · ~/project · Context 20% used ? / esc close diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__status_surface__tests__fullscreen_plan_cycle_hint.snap b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__status_surface__tests__fullscreen_plan_cycle_hint.snap index 83348426..a7feeb2a 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__status_surface__tests__fullscreen_plan_cycle_hint.snap +++ b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__status_surface__tests__fullscreen_plan_cycle_hint.snap @@ -11,7 +11,7 @@ expression: wide -› Ask Codex +› Ask aKode MODEL · ~/project · Context 20% used Plan mode (⇧tab to cycle) ? for shortcuts diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__status_surface__tests__persistent_status_and_messages.snap b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__status_surface__tests__persistent_status_and_messages.snap index c35c2d93..fb2db2f7 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__status_surface__tests__persistent_status_and_messages.snap +++ b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__status_surface__tests__persistent_status_and_messages.snap @@ -11,7 +11,7 @@ expression: "states.join(\"\\n---\\n\")" -› Ask Codex +› Ask aKode MODEL · ~/project · Context 20% used Plan mode ? for shortcuts @@ -25,7 +25,7 @@ expression: "states.join(\"\\n---\\n\")" -› Ask Codex +› Ask aKode MODEL · ~/project · Context 20% used Plan mode Copied selection @@ -39,7 +39,7 @@ expression: "states.join(\"\\n---\\n\")" -› Ask Codex +› Ask aKode MODEL · ~/project · Context 20% used Plan mode Ctrl+X waiting for chord diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__status_surface__tests__shortcut_help_above_narrow.snap b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__status_surface__tests__shortcut_help_above_narrow.snap index 9b136be6..938b02ad 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__status_surface__tests__shortcut_help_above_narrow.snap +++ b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__status_surface__tests__shortcut_help_above_narrow.snap @@ -40,7 +40,7 @@ expression: text /keymap customize -› Ask Codex +› Ask aKode MODEL · ~/project · Context 20% used ? / esc close diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__status_surface__tests__shortcut_help_above_wide.snap b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__status_surface__tests__shortcut_help_above_wide.snap index e83ad175..e3505600 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__status_surface__tests__shortcut_help_above_wide.snap +++ b/codex-rs/tui/src/bottom_pane/chat_composer/snapshots/codex_tui__bottom_pane__chat_composer__status_surface__tests__shortcut_help_above_wide.snap @@ -24,7 +24,7 @@ expression: text /keymap customize -› Ask Codex +› Ask aKode MODEL · ~/project · Context 20% used ? / esc close diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/sparkle_tests.rs b/codex-rs/tui/src/bottom_pane/chat_composer/sparkle_tests.rs index b39da3ed..3c6d6c71 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/sparkle_tests.rs +++ b/codex-rs/tui/src/bottom_pane/chat_composer/sparkle_tests.rs @@ -24,7 +24,7 @@ fn pane() -> BottomPane { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".into(), + placeholder_text: "Ask aKode to do anything".into(), disable_paste_burst: true, animations_enabled: true, effects: Default::default(), diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/status_surface_tests.rs b/codex-rs/tui/src/bottom_pane/chat_composer/status_surface_tests.rs index acce3a30..f43d966a 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/status_surface_tests.rs +++ b/codex-rs/tui/src/bottom_pane/chat_composer/status_surface_tests.rs @@ -13,7 +13,7 @@ fn composer() -> ChatComposer { /*has_input_focus*/ true, AppEventSender::new(tx), /*enhanced_keys_supported*/ false, - "Ask Codex".to_string(), + "Ask aKode".to_string(), /*disable_paste_burst*/ true, ); composer.set_status_line_enabled(/*enabled*/ true); @@ -466,7 +466,7 @@ fn shortcut_help_stays_above_the_prompt_and_bottom_status() { .unwrap(); let prompt_row = rows .iter() - .position(|line| line.contains("Ask Codex")) + .position(|line| line.contains("Ask aKode")) .unwrap(); assert!(help_row < prompt_row); assert!( @@ -664,7 +664,7 @@ fn slash_popup_preserves_footer_and_selection_style() { /*has_input_focus*/ true, AppEventSender::new(tx), /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ true, ); composer.set_status_line_enabled(/*enabled*/ true); diff --git a/codex-rs/tui/src/bottom_pane/chat_composer/warning_notice_tests.rs b/codex-rs/tui/src/bottom_pane/chat_composer/warning_notice_tests.rs index f3845a79..28bb330c 100644 --- a/codex-rs/tui/src/bottom_pane/chat_composer/warning_notice_tests.rs +++ b/codex-rs/tui/src/bottom_pane/chat_composer/warning_notice_tests.rs @@ -10,7 +10,7 @@ fn composer() -> ChatComposer { /*has_input_focus*/ true, AppEventSender::new(tx), /*enhanced_keys_supported*/ false, - "Ask Codex".into(), + "Ask aKode".into(), /*disable_paste_burst*/ true, ); // Keep layout fixtures independent of platform-specific default shortcuts. diff --git a/codex-rs/tui/src/bottom_pane/experimental_features_view.rs b/codex-rs/tui/src/bottom_pane/experimental_features_view.rs index 681698d9..23201624 100644 --- a/codex-rs/tui/src/bottom_pane/experimental_features_view.rs +++ b/codex-rs/tui/src/bottom_pane/experimental_features_view.rs @@ -104,7 +104,7 @@ impl ExperimentalFeaturesView { Paragraph::new(Line::from("Experimental features".bold())).wrap(Wrap { trim: false }), ); for text in [ - "Checked features are configured on. Some experimental features take effect only in new tasks or after restarting the Codex server.", + "Checked features are configured on. Some experimental features take effect only in new tasks or after restarting the aKode server.", self.discovery_status.as_str(), ].into_iter().filter(|text| !text.is_empty()) { for line in textwrap::wrap(text, usize::from(width.max(1))) { @@ -314,7 +314,7 @@ impl BottomPaneView for ExperimentalFeaturesView { } Err(error) => { tracing::warn!(%error, "experimental feature discovery failed"); - self.discovery_status = "Server experiments unavailable. Reopen /experimental to retry; restart this Codex client if requests remain unanswered.".to_string(); + self.discovery_status = "Server experiments unavailable. Reopen /experimental to retry; restart this aKode client if requests remain unanswered.".to_string(); } } true diff --git a/codex-rs/tui/src/bottom_pane/hooks_browser_view.rs b/codex-rs/tui/src/bottom_pane/hooks_browser_view.rs index 8ebae1eb..cab4570c 100644 --- a/codex-rs/tui/src/bottom_pane/hooks_browser_view.rs +++ b/codex-rs/tui/src/bottom_pane/hooks_browser_view.rs @@ -702,7 +702,7 @@ fn event_description(event_name: HookEventName) -> &'static str { HookEventName::UserPromptSubmit => "When the user submits a prompt", HookEventName::SubagentStart => "When a subagent is created", HookEventName::SubagentStop => "Right before a subagent ends its turn", - HookEventName::Stop => "Right before Codex ends its turn", + HookEventName::Stop => "Right before aKode ends its turn", HookEventName::Interrupt => "Right before an interrupted turn is aborted", } } diff --git a/codex-rs/tui/src/bottom_pane/memories_settings_view.rs b/codex-rs/tui/src/bottom_pane/memories_settings_view.rs index 5cc38626..decef0c0 100644 --- a/codex-rs/tui/src/bottom_pane/memories_settings_view.rs +++ b/codex-rs/tui/src/bottom_pane/memories_settings_view.rs @@ -122,7 +122,7 @@ impl MemoriesSettingsView { header.push(Paragraph::new(Line::from("Memories".bold())).wrap(Wrap { trim: false })); header.push( Paragraph::new(Line::from( - "Choose how Codex uses and creates memories. Changes are saved to config.toml" + "Choose how aKode uses and creates memories. Changes are saved to config.toml" .dim(), )) .wrap(Wrap { trim: false }), @@ -137,7 +137,7 @@ impl MemoriesSettingsView { ); header.push( Paragraph::new(Line::from( - "This clears local memory files and rollout summaries for the current Codex home." + "This clears local memory files and rollout summaries for the current aKode home." .dim(), )) .wrap(Wrap { trim: false }), diff --git a/codex-rs/tui/src/bottom_pane/mod.rs b/codex-rs/tui/src/bottom_pane/mod.rs index 6218a41c..46ba8d7b 100644 --- a/codex-rs/tui/src/bottom_pane/mod.rs +++ b/codex-rs/tui/src/bottom_pane/mod.rs @@ -2740,7 +2740,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst, animations_enabled: true, effects: Default::default(), @@ -3024,7 +3024,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: true, animations_enabled: true, effects: Default::default(), @@ -3050,7 +3050,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: true, animations_enabled: true, effects: Default::default(), @@ -3084,7 +3084,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: true, effects: Default::default(), @@ -3427,7 +3427,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: true, effects: Default::default(), @@ -3475,7 +3475,7 @@ mod tests { for x in 0..area.width { row.push(buf[(x, y)].symbol().chars().next().unwrap_or(' ')); } - if row.contains("Ask Codex") { + if row.contains("Ask aKode") { found_composer = true; break; } @@ -3495,7 +3495,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: true, effects: Default::default(), @@ -3570,7 +3570,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: true, effects: Default::default(), @@ -3602,7 +3602,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: true, effects: Default::default(), @@ -3626,7 +3626,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: true, effects: Default::default(), @@ -3656,7 +3656,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: true, effects: Default::default(), @@ -3694,7 +3694,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: true, effects: Default::default(), @@ -3727,7 +3727,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: true, effects: Default::default(), @@ -3759,7 +3759,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: true, effects: Default::default(), @@ -3789,7 +3789,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: true, effects: Default::default(), @@ -3813,7 +3813,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: true, effects: Default::default(), @@ -3862,7 +3862,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: true, effects: Default::default(), @@ -3931,7 +3931,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: true, effects: Default::default(), @@ -3968,7 +3968,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: true, effects: Default::default(), @@ -4017,7 +4017,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: true, effects: Default::default(), @@ -4143,7 +4143,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: true, effects: Default::default(), @@ -4192,7 +4192,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: true, effects: Default::default(), @@ -4271,7 +4271,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: true, effects: Default::default(), diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__approval_overlay__tests__approval_overlay_additional_permissions_prompt.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__approval_overlay__tests__approval_overlay_additional_permissions_prompt.snap index 09087bf2..149260fa 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__approval_overlay__tests__approval_overlay_additional_permissions_prompt.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__approval_overlay__tests__approval_overlay_additional_permissions_prompt.snap @@ -13,6 +13,6 @@ expression: "normalize_snapshot_paths(render_overlay_lines(&view, 120))" › 1. Yes, proceed (y) - 2. No, and tell Codex what to do differently (esc) + 2. No, and tell aKode what to do differently (esc) Press enter to confirm or esc to cancel diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__approval_overlay__tests__approval_overlay_cross_thread_prompt.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__approval_overlay__tests__approval_overlay_cross_thread_prompt.snap index d38f759b..e6c6e79a 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__approval_overlay__tests__approval_overlay_cross_thread_prompt.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__approval_overlay__tests__approval_overlay_cross_thread_prompt.snap @@ -11,6 +11,6 @@ expression: "render_overlay_lines(&view, 80)" › 1. Yes, proceed (y) - 2. No, and tell Codex what to do differently (esc) + 2. No, and tell aKode what to do differently (esc) Press enter to confirm or esc to cancel or o to open thread diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__approval_overlay__tests__approval_overlay_patch_destination_unavailable.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__approval_overlay__tests__approval_overlay_patch_destination_unavailable.snap index b138e428..f064234d 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__approval_overlay__tests__approval_overlay_patch_destination_unavailable.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__approval_overlay__tests__approval_overlay_patch_destination_unavailable.snap @@ -11,6 +11,6 @@ expression: "normalize_snapshot_paths(render_overlay_lines(&view, 120))" › 1. Yes, proceed (y) 2. Yes, and don't ask again for these files (a) - 3. No, and tell Codex what to do differently (esc) + 3. No, and tell aKode what to do differently (esc) Press enter to confirm or esc to cancel diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__approval_overlay__tests__network_exec_prompt.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__approval_overlay__tests__network_exec_prompt.snap index 919713e9..af3c9d4a 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__approval_overlay__tests__network_exec_prompt.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__approval_overlay__tests__network_exec_prompt.snap @@ -15,7 +15,7 @@ Buffer { "› 1. Yes, just this once (y) ", " 2. Yes, and allow this host for this conversation (a) ", " 3. Yes, and allow this host in the future (p) ", - " 4. No, and tell Codex what to do differently (esc) ", + " 4. No, and tell aKode what to do differently (esc) ", " ", " Press enter to confirm or esc to cancel ", ], diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__agents_navigation_enabled.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__agents_navigation_enabled.snap index 2924342d..2c42ee30 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__agents_navigation_enabled.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__agents_navigation_enabled.snap @@ -3,7 +3,7 @@ source: tui/src/bottom_pane/chat_composer.rs expression: terminal.backend() --- " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__agents_navigation_help.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__agents_navigation_help.snap index 7ef48c38..f8b074b3 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__agents_navigation_help.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__agents_navigation_help.snap @@ -23,7 +23,7 @@ expression: terminal.backend() " " " /keymap customize " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__agents_navigation_status.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__agents_navigation_status.snap index eddb4ae5..e3af5fea 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__agents_navigation_status.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__agents_navigation_status.snap @@ -3,7 +3,7 @@ source: tui/src/bottom_pane/chat_composer.rs expression: terminal.backend() --- " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__empty.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__empty.snap index 47c97c74..0f7f26b3 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__empty.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__empty.snap @@ -3,7 +3,7 @@ source: tui/src/bottom_pane/chat_composer.rs expression: terminal.backend() --- " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_empty_full.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_empty_full.snap index 4324d806..1f7b2955 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_empty_full.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_empty_full.snap @@ -3,7 +3,7 @@ source: tui/src/bottom_pane/chat_composer.rs expression: terminal.backend() --- " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_empty_mode_cycle_with_context.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_empty_mode_cycle_with_context.snap index ecaeb581..ac2f081f 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_empty_mode_cycle_with_context.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_empty_mode_cycle_with_context.snap @@ -3,7 +3,7 @@ source: tui/src/bottom_pane/chat_composer.rs expression: terminal.backend() --- " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_empty_mode_cycle_without_context.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_empty_mode_cycle_without_context.snap index 118ac252..adaf2f34 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_empty_mode_cycle_without_context.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_empty_mode_cycle_without_context.snap @@ -3,7 +3,7 @@ source: tui/src/bottom_pane/chat_composer.rs expression: terminal.backend() --- " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_empty_mode_only.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_empty_mode_only.snap index 9c950047..24979623 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_empty_mode_only.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_empty_mode_only.snap @@ -3,7 +3,7 @@ source: tui/src/bottom_pane/chat_composer.rs expression: terminal.backend() --- " " -"› Ask Codex to do anythin " +"› Ask aKode to do anythin " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_plan_empty_full.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_plan_empty_full.snap index ca2a96b3..2f0410fe 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_plan_empty_full.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_plan_empty_full.snap @@ -3,7 +3,7 @@ source: tui/src/bottom_pane/chat_composer.rs expression: terminal.backend() --- " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_plan_empty_mode_cycle_with_context.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_plan_empty_mode_cycle_with_context.snap index dae98d4c..c8d1929d 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_plan_empty_mode_cycle_with_context.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_plan_empty_mode_cycle_with_context.snap @@ -3,7 +3,7 @@ source: tui/src/bottom_pane/chat_composer.rs expression: terminal.backend() --- " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_plan_empty_mode_cycle_without_context.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_plan_empty_mode_cycle_without_context.snap index 0dcd2872..0f10aa65 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_plan_empty_mode_cycle_without_context.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_plan_empty_mode_cycle_without_context.snap @@ -3,7 +3,7 @@ source: tui/src/bottom_pane/chat_composer.rs expression: terminal.backend() --- " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_plan_empty_mode_only.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_plan_empty_mode_only.snap index bea268c5..e64bcb3b 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_plan_empty_mode_only.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_collapse_plan_empty_mode_only.snap @@ -3,7 +3,7 @@ source: tui/src/bottom_pane/chat_composer.rs expression: terminal.backend() --- " " -"› Ask Codex to do anythin " +"› Ask aKode to do anythin " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_configured_key_chords.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_configured_key_chords.snap index ee4c4677..728c85c9 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_configured_key_chords.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_configured_key_chords.snap @@ -16,7 +16,7 @@ expression: terminal.backend() " " " /keymap customize " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_ctrl_c_quit.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_ctrl_c_quit.snap index 20a62b41..b8962667 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_ctrl_c_quit.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_ctrl_c_quit.snap @@ -3,7 +3,7 @@ source: tui/src/bottom_pane/chat_composer.rs expression: terminal.backend() --- " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_ctrl_c_then_esc_hint.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_ctrl_c_then_esc_hint.snap index 9cad17b8..70d756e8 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_ctrl_c_then_esc_hint.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_ctrl_c_then_esc_hint.snap @@ -3,7 +3,7 @@ source: tui/src/bottom_pane/chat_composer.rs expression: terminal.backend() --- " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_esc_hint_backtrack.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_esc_hint_backtrack.snap index 2fce42cc..7e16e578 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_esc_hint_backtrack.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_esc_hint_backtrack.snap @@ -3,7 +3,7 @@ source: tui/src/bottom_pane/chat_composer.rs expression: terminal.backend() --- " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_esc_hint_from_overlay.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_esc_hint_from_overlay.snap index 66bb11a8..71fbaea1 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_esc_hint_from_overlay.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_esc_hint_from_overlay.snap @@ -4,7 +4,7 @@ assertion_line: 5609 expression: terminal.backend() --- " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_overlay_then_external_esc_hint.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_overlay_then_external_esc_hint.snap index 2fce42cc..7e16e578 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_overlay_then_external_esc_hint.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_overlay_then_external_esc_hint.snap @@ -3,7 +3,7 @@ source: tui/src/bottom_pane/chat_composer.rs expression: terminal.backend() --- " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_shell_command_escape_exits_empty_mode.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_shell_command_escape_exits_empty_mode.snap index dac77a38..c3bb9683 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_shell_command_escape_exits_empty_mode.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_shell_command_escape_exits_empty_mode.snap @@ -4,7 +4,7 @@ assertion_line: 4485 expression: terminal.backend() --- " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_shortcut_overlay.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_shortcut_overlay.snap index b491f5ed..fd88fefa 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_shortcut_overlay.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_shortcut_overlay.snap @@ -16,7 +16,7 @@ expression: terminal.backend() " " " /keymap customize " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_shortcut_overlay_queue_submissions.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_shortcut_overlay_queue_submissions.snap index ce18f02c..2dffb83f 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_shortcut_overlay_queue_submissions.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__footer_mode_shortcut_overlay_queue_submissions.snap @@ -16,7 +16,7 @@ expression: terminal.backend() " " " /keymap customize " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__light_terminal_palette_composer.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__light_terminal_palette_composer.snap index 8ef90ddc..8ca110bd 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__light_terminal_palette_composer.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__light_terminal_palette_composer.snap @@ -6,7 +6,7 @@ Buffer { area: Rect { x: 0, y: 0, width: 48, height: 6 }, content: [ " ", - "› Ask Codex to do anything ", + "› Ask aKode to do anything ", " ", " ", " ", diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__ultra_accent_upgrades_prompt_glyph.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__ultra_accent_upgrades_prompt_glyph.snap index 1ccc97b2..c97f6c65 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__ultra_accent_upgrades_prompt_glyph.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__ultra_accent_upgrades_prompt_glyph.snap @@ -3,7 +3,7 @@ source: tui/src/bottom_pane/chat_composer.rs expression: terminal.backend() --- " " -"» Ask Codex to do anything " +"» Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__vim_enter_after_expired_paste.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__vim_enter_after_expired_paste.snap index 607cc646..797164c3 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__vim_enter_after_expired_paste.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__vim_enter_after_expired_paste.snap @@ -3,7 +3,7 @@ source: tui/src/bottom_pane/chat_composer.rs expression: terminal.backend() --- " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__vim_fresh_draft.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__vim_fresh_draft.snap index 7a31d0b1..36b25485 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__vim_fresh_draft.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__chat_composer__tests__vim_fresh_draft.snap @@ -3,7 +3,7 @@ source: tui/src/bottom_pane/chat_composer.rs expression: terminal.backend() --- " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " " " " diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_analytics_plan_history.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_analytics_plan_history.snap index 2ac57b83..7e2ebd2e 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_analytics_plan_history.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_analytics_plan_history.snap @@ -5,7 +5,7 @@ expression: buffer_text(&buffer) Experimental features Checked features are configured on. Some experimental features take effect - only in new tasks or after restarting the Codex server. + only in new tasks or after restarting the aKode server. › [ ] Analytics plan history Preview five-hour and weekly allowance history for diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_changed_default.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_changed_default.snap index 4ad81a13..8e933717 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_changed_default.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_changed_default.snap @@ -5,7 +5,7 @@ expression: buffer_text(&buffer) Experimental features Checked features are configured on. Some experimental features take effect - only in new tasks or after restarting the Codex server. + only in new tasks or after restarting the aKode server. › [x] Server network_proxy Description supplied by the server. diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_empty.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_empty.snap index e0a9047c..d87848e6 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_empty.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_empty.snap @@ -5,7 +5,7 @@ expression: buffer_text(&buffer) Experimental features Checked features are configured on. Some experimental features take effect - only in new tasks or after restarting the Codex server. + only in new tasks or after restarting the aKode server. No server experiments available. diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_keep_following_choice_at_wrap_boundary.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_keep_following_choice_at_wrap_boundary.snap index 9bf78597..d079e19f 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_keep_following_choice_at_wrap_boundary.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_keep_following_choice_at_wrap_boundary.snap @@ -6,7 +6,7 @@ width=68 Experimental features Checked features are configured on. Some experimental features - take effect only in new tasks or after restarting the Codex + take effect only in new tasks or after restarting the aKode server. @@ -21,7 +21,7 @@ width=69 Experimental features Checked features are configured on. Some experimental features - take effect only in new tasks or after restarting the Codex + take effect only in new tasks or after restarting the aKode server. @@ -36,7 +36,7 @@ width=70 Experimental features Checked features are configured on. Some experimental features - take effect only in new tasks or after restarting the Codex + take effect only in new tasks or after restarting the aKode server. @@ -50,7 +50,7 @@ width=71 Experimental features Checked features are configured on. Some experimental features take - effect only in new tasks or after restarting the Codex server. + effect only in new tasks or after restarting the aKode server. › [x] First feature A description that fits exactly at this boundary. @@ -63,7 +63,7 @@ width=72 Experimental features Checked features are configured on. Some experimental features take - effect only in new tasks or after restarting the Codex server. + effect only in new tasks or after restarting the aKode server. › [x] First feature A description that fits exactly at this boundary. diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_login_shell_package_path.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_login_shell_package_path.snap index 3cb14de5..4b643b87 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_login_shell_package_path.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_login_shell_package_path.snap @@ -5,7 +5,7 @@ expression: buffer_text(&buffer) Experimental features Checked features are configured on. Some experimental features take effect - only in new tasks or after restarting the Codex server. + only in new tasks or after restarting the aKode server. › [ ] Bundled tools in login shells Keep bundled tools such as ripgrep diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_respect_system_proxy.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_respect_system_proxy.snap index 76a1cf00..fec35c18 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_respect_system_proxy.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_respect_system_proxy.snap @@ -5,7 +5,7 @@ expression: buffer_text(&buffer) Experimental features Checked features are configured on. Some experimental features take effect - only in new tasks or after restarting the Codex server. + only in new tasks or after restarting the aKode server. › [ ] System proxy Use macOS or Windows system proxy settings for Codex diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_save_failed.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_save_failed.snap index 1eab5f8c..289378f8 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_save_failed.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_save_failed.snap @@ -5,7 +5,7 @@ expression: buffer_text(&buffer) Experimental features Checked features are configured on. Some experimental features take effect - only in new tasks or after restarting the Codex server. + only in new tasks or after restarting the aKode server. Saved but readback failed diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_saving.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_saving.snap index 3e35b169..09479f26 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_saving.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_saving.snap @@ -5,7 +5,7 @@ expression: buffer_text(&buffer) Experimental features Checked features are configured on. Some experimental features take effect - only in new tasks or after restarting the Codex server. + only in new tasks or after restarting the aKode server. Saving experimental features… diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_server_discovery.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_server_discovery.snap index 1c0a7e37..a2b88b23 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_server_discovery.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_server_discovery.snap @@ -5,7 +5,7 @@ expression: buffer_text(&buffer) Experimental features Checked features are configured on. Some experimental features take effect only in new tasks or - after restarting the Codex server. + after restarting the aKode server. › [x] Server network_proxy Description supplied by the server. diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_unavailable.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_unavailable.snap index 1bd7296b..7c21e1ef 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_unavailable.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__experimental_features_view__tests__experimental_features_unavailable.snap @@ -5,9 +5,9 @@ expression: buffer_text(&buffer) Experimental features Checked features are configured on. Some experimental features take effect - only in new tasks or after restarting the Codex server. + only in new tasks or after restarting the aKode server. Server experiments unavailable. Reopen /experimental to retry; restart this - Codex client if requests remain unanswered. + aKode client if requests remain unanswered. No experimental features available for now diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__hooks_browser_view__tests__hooks_browser_model_requests.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__hooks_browser_view__tests__hooks_browser_model_requests.snap index ee8751bf..a1799bdb 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__hooks_browser_view__tests__hooks_browser_model_requests.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__hooks_browser_view__tests__hooks_browser_model_requests.snap @@ -12,7 +12,7 @@ expression: "render_lines(&view, 112)" UserPromptSubmit 0 0 When the user submits a prompt SubagentStart 0 0 When a subagent is created SubagentStop 0 0 Right before a subagent ends its turn - Stop 0 0 Right before Codex ends its turn + Stop 0 0 Right before aKode ends its turn Interrupt 0 0 Right before an interrupted turn is aborted PreModelRequest 0 0 Before a model request › PostModelRequest 0 0 After a model request, including failures diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__memories_settings_view__tests__reset_confirmation_keeps_both_choices_at_wrap_boundary.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__memories_settings_view__tests__reset_confirmation_keeps_both_choices_at_wrap_boundary.snap index c1eb9ca2..4b7e6d2c 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__memories_settings_view__tests__reset_confirmation_keeps_both_choices_at_wrap_boundary.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__memories_settings_view__tests__reset_confirmation_keeps_both_choices_at_wrap_boundary.snap @@ -6,7 +6,7 @@ width=68 Reset all memories? This clears local memory files and rollout summaries for the - current Codex home. + current aKode home. › Reset all memories Delete local memory files and rollout @@ -21,7 +21,7 @@ width=69 Reset all memories? This clears local memory files and rollout summaries for the - current Codex home. + current aKode home. › Reset all memories Delete local memory files and rollout summaries @@ -35,7 +35,7 @@ width=70 Reset all memories? This clears local memory files and rollout summaries for the - current Codex home. + current aKode home. › Reset all memories Delete local memory files and rollout summaries @@ -49,7 +49,7 @@ width=71 Reset all memories? This clears local memory files and rollout summaries for the - current Codex home. + current aKode home. › Reset all memories Delete local memory files and rollout summaries @@ -63,7 +63,7 @@ width=72 Reset all memories? This clears local memory files and rollout summaries for the current - Codex home. + aKode home. › Reset all memories Delete local memory files and rollout summaries diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__inline_banner_wrapped_and_truncated.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__inline_banner_wrapped_and_truncated.snap index 66682102..22cc5eec 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__inline_banner_wrapped_and_truncated.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__inline_banner_wrapped_and_truncated.snap @@ -18,6 +18,6 @@ expression: "render_snapshot(&pane, area)" Press a number to choose · esc to dismiss · type to continue -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__queued_messages_visible_when_status_hidden_snapshot.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__queued_messages_visible_when_status_hidden_snapshot.snap index e803ab16..df15123d 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__queued_messages_visible_when_status_hidden_snapshot.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__queued_messages_visible_when_status_hidden_snapshot.snap @@ -6,6 +6,6 @@ expression: "render_snapshot(&pane, area)" ↳ Queued follow-up question ⇧← edit last queued message -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__status_and_composer_fill_height_without_bottom_padding.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__status_and_composer_fill_height_without_bottom_padding.snap index 5c95c9f8..83202f33 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__status_and_composer_fill_height_without_bottom_padding.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__status_and_composer_fill_height_without_bottom_padding.snap @@ -5,6 +5,6 @@ expression: "render_snapshot(&pane, area)" • Working (0s • esc to interr… -› Ask Codex to do anything +› Ask aKode to do anything 100% context left diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__status_and_queued_messages_snapshot.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__status_and_queued_messages_snapshot.snap index cbc675a0..0331ec5d 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__status_and_queued_messages_snapshot.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__status_and_queued_messages_snapshot.snap @@ -8,6 +8,6 @@ expression: "render_snapshot(&pane, area)" ↳ Queued follow-up question ⇧← edit last queued message -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__status_only_snapshot.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__status_only_snapshot.snap index 136c3580..fe2b1203 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__status_only_snapshot.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__status_only_snapshot.snap @@ -5,6 +5,6 @@ expression: "render_snapshot(&pane, area)" • Working (0s • esc to interrupt) -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__status_timer_survives_hidden_row.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__status_timer_survives_hidden_row.snap index 13ce9387..7c82f2a7 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__status_timer_survives_hidden_row.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__status_timer_survives_hidden_row.snap @@ -6,6 +6,6 @@ expression: "render_snapshot(&pane, area)" • Working (42s • esc to interrupt) -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__status_with_details_and_queued_messages_snapshot.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__status_with_details_and_queued_messages_snapshot.snap index 0b45f6d1..d5847264 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__status_with_details_and_queued_messages_snapshot.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__tests__status_with_details_and_queued_messages_snapshot.snap @@ -10,6 +10,6 @@ expression: "render_snapshot(&pane, area)" ↳ Queued follow-up question ⇧← edit last queued message -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left diff --git a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__title_setup__tests__terminal_title_setup_basic.snap b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__title_setup__tests__terminal_title_setup_basic.snap index 21dbeb76..bf1cef65 100644 --- a/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__title_setup__tests__terminal_title_setup_basic.snap +++ b/codex-rs/tui/src/bottom_pane/snapshots/codex_tui__bottom_pane__title_setup__tests__terminal_title_setup_basic.snap @@ -12,7 +12,7 @@ expression: "render_lines(&view, 84)" [x] activity Spinner while working, action-required message while blocked [x] run-state Compact session run-state text (Ready, Working, Thinking) [x] thread-title Current thread title, or thread identifier when unnamed - [ ] app-name Codex app name + [ ] app-name aKode app name [ ] current-dir Current working directory [ ] thread-name Current thread name (omitted when unnamed) [ ] git-branch Current Git branch (omitted when unavailable) diff --git a/codex-rs/tui/src/bottom_pane/status_line_setup.rs b/codex-rs/tui/src/bottom_pane/status_line_setup.rs index 918bbdf0..86d1614e 100644 --- a/codex-rs/tui/src/bottom_pane/status_line_setup.rs +++ b/codex-rs/tui/src/bottom_pane/status_line_setup.rs @@ -114,7 +114,7 @@ pub(crate) enum StatusLineItem { /// Remaining usage on the secondary rate limit. WeeklyLimit, - /// Codex application version. + /// aKode application version. CodexVersion, /// Total context window size in tokens. @@ -192,7 +192,7 @@ impl StatusLineItem { StatusLineItem::WeeklyLimit => { "Remaining usage on the secondary usage limit (omitted when unavailable)" } - StatusLineItem::CodexVersion => "Codex application version", + StatusLineItem::CodexVersion => "aKode application version", StatusLineItem::ContextWindowSize => { "Total context window size in tokens (omitted when unknown)" } diff --git a/codex-rs/tui/src/bottom_pane/tests/snapshots/codex_tui__bottom_pane__tests__actionable_banner_tests__actionable_banner_with_composer_gap.snap b/codex-rs/tui/src/bottom_pane/tests/snapshots/codex_tui__bottom_pane__tests__actionable_banner_tests__actionable_banner_with_composer_gap.snap index 1ec65f63..def7bff2 100644 --- a/codex-rs/tui/src/bottom_pane/tests/snapshots/codex_tui__bottom_pane__tests__actionable_banner_tests__actionable_banner_with_composer_gap.snap +++ b/codex-rs/tui/src/bottom_pane/tests/snapshots/codex_tui__bottom_pane__tests__actionable_banner_tests__actionable_banner_with_composer_gap.snap @@ -10,6 +10,6 @@ expression: rendered Press a number to choose · esc to dismiss · type to continue -› Ask Codex to do anything +› Ask aKode to do anything esc esc to edit previous message diff --git a/codex-rs/tui/src/bottom_pane/tests/snapshots/codex_tui__bottom_pane__tests__actionable_banner_tests__banner_wrapped_url.snap b/codex-rs/tui/src/bottom_pane/tests/snapshots/codex_tui__bottom_pane__tests__actionable_banner_tests__banner_wrapped_url.snap index 01e6540e..14dc2724 100644 --- a/codex-rs/tui/src/bottom_pane/tests/snapshots/codex_tui__bottom_pane__tests__actionable_banner_tests__banner_wrapped_url.snap +++ b/codex-rs/tui/src/bottom_pane/tests/snapshots/codex_tui__bottom_pane__tests__actionable_banner_tests__banner_wrapped_url.snap @@ -11,6 +11,6 @@ expression: visible esc to dismiss · type to continue -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left diff --git a/codex-rs/tui/src/bottom_pane/tests/snapshots/codex_tui__bottom_pane__tests__actionable_banner_tests__information_banner_dismissible.snap b/codex-rs/tui/src/bottom_pane/tests/snapshots/codex_tui__bottom_pane__tests__actionable_banner_tests__information_banner_dismissible.snap index 9c624f04..8c3345c2 100644 --- a/codex-rs/tui/src/bottom_pane/tests/snapshots/codex_tui__bottom_pane__tests__actionable_banner_tests__information_banner_dismissible.snap +++ b/codex-rs/tui/src/bottom_pane/tests/snapshots/codex_tui__bottom_pane__tests__actionable_banner_tests__information_banner_dismissible.snap @@ -10,6 +10,6 @@ expression: rendered esc to dismiss · type to continue -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left diff --git a/codex-rs/tui/src/bottom_pane/tests/snapshots/codex_tui__bottom_pane__tests__actionable_banner_tests__information_banner_persistent.snap b/codex-rs/tui/src/bottom_pane/tests/snapshots/codex_tui__bottom_pane__tests__actionable_banner_tests__information_banner_persistent.snap index f717e242..02f6f973 100644 --- a/codex-rs/tui/src/bottom_pane/tests/snapshots/codex_tui__bottom_pane__tests__actionable_banner_tests__information_banner_persistent.snap +++ b/codex-rs/tui/src/bottom_pane/tests/snapshots/codex_tui__bottom_pane__tests__actionable_banner_tests__information_banner_persistent.snap @@ -8,6 +8,6 @@ expression: rendered You can change models or request more usage. -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts 100% context left diff --git a/codex-rs/tui/src/bottom_pane/textarea/hyperlinks_tests.rs b/codex-rs/tui/src/bottom_pane/textarea/hyperlinks_tests.rs index e9b8c67b..92a57869 100644 --- a/codex-rs/tui/src/bottom_pane/textarea/hyperlinks_tests.rs +++ b/codex-rs/tui/src/bottom_pane/textarea/hyperlinks_tests.rs @@ -119,7 +119,7 @@ fn composer_wrapped_url_fragments_keep_the_complete_destination() { /*has_input_focus*/ true, AppEventSender::new(sender), /*enhanced_keys_supported*/ true, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ false, ); composer.set_text_content(format!("Fix CI on {url}"), Vec::new(), Vec::new()); diff --git a/codex-rs/tui/src/bottom_pane/title_setup.rs b/codex-rs/tui/src/bottom_pane/title_setup.rs index b3744874..c2ad38a4 100644 --- a/codex-rs/tui/src/bottom_pane/title_setup.rs +++ b/codex-rs/tui/src/bottom_pane/title_setup.rs @@ -37,7 +37,7 @@ use crate::render::renderable::Renderable; #[derive(EnumIter, EnumString, Display, Debug, Clone, Copy, Eq, PartialEq, Hash)] #[strum(serialize_all = "kebab-case")] pub(crate) enum TerminalTitleItem { - /// Codex app name. + /// aKode app name. AppName, /// Project root name, or a compact cwd fallback. #[strum(to_string = "project-name", serialize = "project")] @@ -66,7 +66,7 @@ pub(crate) enum TerminalTitleItem { FiveHourLimit, /// Remaining usage on the secondary rate limit. WeeklyLimit, - /// Codex application version. + /// aKode application version. CodexVersion, /// Total tokens used in the current session. UsedTokens, @@ -93,7 +93,7 @@ pub(crate) enum TerminalTitleItem { impl TerminalTitleItem { pub(crate) fn description(self) -> &'static str { match self { - TerminalTitleItem::AppName => "Codex app name", + TerminalTitleItem::AppName => "aKode app name", TerminalTitleItem::Project => "Project name (falls back to current directory name)", TerminalTitleItem::CurrentDir => "Current working directory", TerminalTitleItem::Spinner => { @@ -117,7 +117,7 @@ impl TerminalTitleItem { TerminalTitleItem::WeeklyLimit => { "Remaining usage on the secondary usage limit (omitted when unavailable)" } - TerminalTitleItem::CodexVersion => "Codex application version", + TerminalTitleItem::CodexVersion => "aKode application version", TerminalTitleItem::UsedTokens => "Total tokens used in session (omitted when zero)", TerminalTitleItem::TotalInputTokens => "Total input tokens used in session", TerminalTitleItem::TotalOutputTokens => "Total output tokens used in session", diff --git a/codex-rs/tui/src/branding.rs b/codex-rs/tui/src/branding.rs new file mode 100644 index 00000000..37c7c558 --- /dev/null +++ b/codex-rs/tui/src/branding.rs @@ -0,0 +1,139 @@ +//! aKode visual identity: the ghost avatar and the welcome banner. +//! +//! The ghost shape is derived from open-bot-avatar by Dominik Scholz +//! (`gallery/ghost.json`, MIT License); see the repository NOTICE file. + +use ratatui::style::Style; +use ratatui::style::Stylize; +use ratatui::text::Line; +use ratatui::text::Span; + +use crate::style::accent_color; +use crate::width::display_width; + +/// Product name shown to users. +pub(crate) const PRODUCT_NAME: &str = "aKode"; + +/// Italian welcome line shown under the splash banner. +pub(crate) const WELCOME_LINE: &str = "Benvenuto in aKode · il tuo agente di coding locale"; + +/// The ghost avatar, four rows of equal display width. +pub(crate) const GHOST: [&str; 4] = [" ▄▄████▄▄ ", "██▀▀██▀▀██", "██▄▄██▄▄██", "██▀████▀██"]; +pub(crate) const GHOST_WIDTH: usize = 10; + +/// "AKODE" in the figlet "ANSI Shadow" font, rows padded to equal display width. +const BANNER: [&str; 6] = [ + " █████╗ ██╗ ██╗ ██████╗ ██████╗ ███████╗", + "██╔══██╗██║ ██╔╝██╔═══██╗██╔══██╗██╔════╝", + "███████║█████╔╝ ██║ ██║██║ ██║█████╗ ", + "██╔══██║██╔═██╗ ██║ ██║██║ ██║██╔══╝ ", + "██║ ██║██║ ██╗╚██████╔╝██████╔╝███████╗", + "╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝", +]; +const BANNER_WIDTH: usize = 41; +/// Space between the ghost and whatever sits to its right. +pub(crate) const GHOST_GAP: usize = 4; + +fn accent() -> Style { + Style::default().fg(accent_color()) +} + +/// One ghost row styled with the theme accent. +pub(crate) fn ghost_span(row: usize) -> Span<'static> { + Span::styled(GHOST[row], accent()) +} + +/// Splash lines chosen to fit `width` without wrapping: ghost + ANSI Shadow banner, then +/// (with `compact`) ghost + plain name, then the welcome line alone, then just the name. +/// Without `compact` (a session header already shows the ghost) narrow widths get only the +/// welcome line, or nothing. Every returned line has the same display width so callers can +/// center the block. +pub(crate) fn splash_lines(width: usize, compact: bool) -> Vec> { + let welcome_width = display_width(WELCOME_LINE); + let version = format!("v{}", crate::version::CODEX_CLI_VERSION); + let compact_width = GHOST_WIDTH + GHOST_GAP + PRODUCT_NAME.len().max(version.len()); + let mut lines: Vec> = Vec::new(); + if width >= (GHOST_WIDTH + GHOST_GAP + BANNER_WIDTH).max(welcome_width) { + // Center the four ghost rows against the six banner rows. + for (row, banner) in BANNER.iter().enumerate() { + let ghost = match row { + 1..=4 => ghost_span(row - 1), + _ => Span::from(" ".repeat(GHOST_WIDTH)), + }; + lines.push(Line::from(vec![ + ghost, + " ".repeat(GHOST_GAP).into(), + Span::styled(*banner, accent()), + ])); + } + } else if compact && width >= compact_width { + for row in 0..GHOST.len() { + let mut spans = vec![ghost_span(row)]; + match row { + 1 => { + spans.push(" ".repeat(GHOST_GAP).into()); + spans.push(Span::styled(PRODUCT_NAME, accent()).bold()); + } + 2 => { + spans.push(" ".repeat(GHOST_GAP).into()); + spans.push(Span::from(version.clone()).dim()); + } + _ => {} + } + lines.push(Line::from(spans)); + } + } + if width >= welcome_width { + if !lines.is_empty() { + lines.push(Line::default()); + } + lines.push(Line::from(WELCOME_LINE.dim())); + } else if compact && lines.is_empty() { + lines.push(Line::from(PRODUCT_NAME.bold())); + } + let block_width = lines.iter().map(Line::width).max().unwrap_or(0); + lines + .into_iter() + .map(|mut line| { + let used = line.width(); + if used < block_width { + line.spans.push(" ".repeat(block_width - used).into()); + } + line + }) + .collect() +} + +#[cfg(test)] +mod tests { + use super::*; + use pretty_assertions::assert_eq; + + #[test] + fn glyph_rows_have_uniform_width() { + assert!(BANNER.iter().all(|row| display_width(row) == BANNER_WIDTH)); + assert!(GHOST.iter().all(|row| display_width(row) == GHOST_WIDTH)); + } + + #[test] + fn splash_degrades_without_overflow() { + for width in [0usize, 5, 13, 19, 20, 40, 51, 54, 55, 80, 200] { + let lines = splash_lines(width, /*compact*/ true); + assert!(!lines.is_empty()); + let widths: Vec = lines.iter().map(Line::width).collect(); + assert!( + widths.iter().all(|w| *w == widths[0]), + "width {width}: {widths:?}" + ); + if width >= PRODUCT_NAME.len() { + assert!(widths[0] <= width, "width {width}: {widths:?}"); + } + } + assert_eq!(splash_lines(80, /*compact*/ true).len(), 8); + assert_eq!(splash_lines(40, /*compact*/ true).len(), 4); + assert_eq!(splash_lines(20, /*compact*/ true).len(), 4); + assert_eq!(splash_lines(80, /*compact*/ false).len(), 8); + assert_eq!(splash_lines(52, /*compact*/ false).len(), 1); + assert!(splash_lines(40, /*compact*/ false).is_empty()); + } +} diff --git a/codex-rs/tui/src/chatwidget.rs b/codex-rs/tui/src/chatwidget.rs index 1a999588..3c230ccf 100644 --- a/codex-rs/tui/src/chatwidget.rs +++ b/codex-rs/tui/src/chatwidget.rs @@ -1477,7 +1477,8 @@ impl ChatWidget { config.cwd.to_path_buf(), CODEX_CLI_VERSION, ) - .with_yolo_mode(history_cell::is_yolo_mode(config)), + .with_yolo_mode(history_cell::is_yolo_mode(config)) + .with_provider_name(Some(config.model_provider.name.clone())), ) } @@ -2053,7 +2054,7 @@ impl Drop for ChatWidget { } } -const PLACEHOLDER: &str = "Ask Codex to do anything"; +const PLACEHOLDER: &str = "Ask aKode to do anything"; const SIDE_PLACEHOLDER: &str = "Ask a follow-up question"; // Extract the first bold (Markdown) element in the form **...** from `s`. diff --git a/codex-rs/tui/src/chatwidget/notifications.rs b/codex-rs/tui/src/chatwidget/notifications.rs index 1198b2b9..47202abf 100644 --- a/codex-rs/tui/src/chatwidget/notifications.rs +++ b/codex-rs/tui/src/chatwidget/notifications.rs @@ -45,7 +45,7 @@ impl Notification { } Notification::EditApprovalRequested { cwd, changes } => { format!( - "Codex wants to edit {}", + "aKode wants to edit {}", if changes.len() == 1 { #[allow(clippy::unwrap_used)] display_path_for(changes.first().unwrap(), cwd) diff --git a/codex-rs/tui/src/chatwidget/permission_popups.rs b/codex-rs/tui/src/chatwidget/permission_popups.rs index 835bf3da..e253d13f 100644 --- a/codex-rs/tui/src/chatwidget/permission_popups.rs +++ b/codex-rs/tui/src/chatwidget/permission_popups.rs @@ -431,7 +431,7 @@ impl ChatWidget { let approval = AskForApproval::from(preset.approval); let title_line = Line::from("Enable full access?").bold(); let info_lines = vec![Line::from(vec![ - "When Codex runs with full access, it can edit any file on your computer and run commands with network, without your approval. " + "When aKode runs with full access, it can edit any file on your computer and run commands with network, without your approval. " .into(), "Exercise caution when enabling full access. This significantly increases the risk of data loss, leaks, or unexpected behavior." .red(), diff --git a/codex-rs/tui/src/chatwidget/permissions_menu.rs b/codex-rs/tui/src/chatwidget/permissions_menu.rs index 575d0268..fe78a61b 100644 --- a/codex-rs/tui/src/chatwidget/permissions_menu.rs +++ b/codex-rs/tui/src/chatwidget/permissions_menu.rs @@ -12,7 +12,7 @@ pub(super) fn permission_preset_description(preset: &ApprovalPreset) -> &'static "Read and edit workspace files and run commands, with approval required for internet access or edits outside the workspace" } "full-access" => { - "Use with caution: Codex can edit files outside this workspace and access the internet without approval" + "Use with caution: aKode can edit files outside this workspace and access the internet without approval" } _ => preset.description, } diff --git a/codex-rs/tui/src/chatwidget/plugin_catalog.rs b/codex-rs/tui/src/chatwidget/plugin_catalog.rs index 9940c451..00fd92c2 100644 --- a/codex-rs/tui/src/chatwidget/plugin_catalog.rs +++ b/codex-rs/tui/src/chatwidget/plugin_catalog.rs @@ -243,7 +243,7 @@ impl ChatWidget { let header = Paragraph::new(vec![ Line::from("Plugins".bold()), Line::from(format!("Remove {marketplace_display_name} marketplace?").dim()), - Line::from("This removes the configured marketplace from Codex.".dim()), + Line::from("This removes the configured marketplace from aKode.".dim()), ]) .wrap(Wrap { trim: false }); diff --git a/codex-rs/tui/src/chatwidget/provider_error.rs b/codex-rs/tui/src/chatwidget/provider_error.rs index 18e60ae3..2503e5db 100644 --- a/codex-rs/tui/src/chatwidget/provider_error.rs +++ b/codex-rs/tui/src/chatwidget/provider_error.rs @@ -98,7 +98,7 @@ impl ChatWidget { let provider = provider_name(model_provider); let current = provider_name(current_model_provider); format!( - "This chat uses {provider}, but Codex now uses {current}, so this chat is read-only." + "This chat uses {provider}, but aKode now uses {current}, so this chat is read-only." ) } ModelProviderError::ModelProviderNotConfigured { model_provider } => { diff --git a/codex-rs/tui/src/chatwidget/realtime/snapshots/codex_tui__chatwidget__realtime__tests__recording_controls_tests__voice_footer_renders_the_main_conversation_states.snap b/codex-rs/tui/src/chatwidget/realtime/snapshots/codex_tui__chatwidget__realtime__tests__recording_controls_tests__voice_footer_renders_the_main_conversation_states.snap index 8e26d02c..8cc4308e 100644 --- a/codex-rs/tui/src/chatwidget/realtime/snapshots/codex_tui__chatwidget__realtime__tests__recording_controls_tests__voice_footer_renders_the_main_conversation_states.snap +++ b/codex-rs/tui/src/chatwidget/realtime/snapshots/codex_tui__chatwidget__realtime__tests__recording_controls_tests__voice_footer_renders_the_main_conversation_states.snap @@ -5,7 +5,7 @@ expression: "states.join(\"\\n\\n\")" connecting: voice ◌ connecting /voice stop -› Ask Codex to do anything +› Ask aKode to do anything status line stays visible @@ -13,7 +13,7 @@ listening: voice ● listening f9 mute /voice stop mic ▁▁▁▁▁▁ codex ▁▁▁▁▁▁ -› Ask Codex to do anything +› Ask aKode to do anything status line stays visible @@ -21,7 +21,7 @@ speaking: voice ● speaking f9 mute /voice stop mic ▁▁▇▇▇▇ codex ▁▁████ -› Ask Codex to do anything +› Ask aKode to do anything status line stays visible @@ -29,7 +29,7 @@ muted: voice ◌ muted f9 unmute /voice stop mic ▁▁▁▁▁▁ codex ▁▁▇▇▇▇ -› Ask Codex to do anything +› Ask aKode to do anything status line stays visible @@ -37,7 +37,7 @@ transcript: voice ● speaking f9 mute /voice stop mic ▁▁▄▄▄▄ codex ▁▁▄▄▄▄ -› Ask Codex to do anything +› Ask aKode to do anything status line stays visible @@ -45,6 +45,6 @@ interrupted: voice ● heard f9 mute /voice stop mic ▁▁▄▄▄▄ codex ▁▁▄▄▄▄ -› Ask Codex to do anything +› Ask aKode to do anything status line stays visible diff --git a/codex-rs/tui/src/chatwidget/rendering_tests.rs b/codex-rs/tui/src/chatwidget/rendering_tests.rs index 630fb478..720bda30 100644 --- a/codex-rs/tui/src/chatwidget/rendering_tests.rs +++ b/codex-rs/tui/src/chatwidget/rendering_tests.rs @@ -376,7 +376,7 @@ async fn initial_session_header_starts_at_the_top_of_the_viewport() { let header = frame .content .chunks(usize::from(frame.area.width)) - .take(/*n*/ 3) + .take(/*n*/ 5) .map(|row| { row.iter() .map(ratatui::buffer::Cell::symbol) @@ -391,8 +391,10 @@ async fn initial_session_header_starts_at_the_top_of_the_viewport() { let cwd = widget.config.cwd.as_path().display().to_string(); insta::assert_snapshot!(header.replace(&cwd, "/tmp/project"), @r" - >_ OpenAI Codex (v) - /tmp/project + ▄▄████▄▄ aKode v + ██▀▀██▀▀██ loading · OpenAI + ██▄▄██▄▄██ /tmp/project + ██▀████▀██ "); } diff --git a/codex-rs/tui/src/chatwidget/safety_buffering.rs b/codex-rs/tui/src/chatwidget/safety_buffering.rs index 4b7d512f..270202c4 100644 --- a/codex-rs/tui/src/chatwidget/safety_buffering.rs +++ b/codex-rs/tui/src/chatwidget/safety_buffering.rs @@ -10,7 +10,7 @@ const SAFETY_BUFFERING_LEARN_MORE_URL: &str = "https://help.openai.com/en/articl const SAFETY_BUFFERING_HEADER: &str = "Giving this request a little extra thought"; const SAFETY_BUFFERING_MESSAGE_WITH_RETRY: &str = "If you'd rather not wait, retry with a faster model. It may be less capable of handling complex requests."; -const SAFETY_BUFFERING_FOOTER: &str = "No action is required. Codex will keep waiting, and this menu will close when the response is ready."; +const SAFETY_BUFFERING_FOOTER: &str = "No action is required. aKode will keep waiting, and this menu will close when the response is ready."; struct SafetyBufferingHeader(Vec>); diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__rendering__tests__provider_errors.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__rendering__tests__provider_errors.snap index 11cc2da8..a8c8bf7d 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__rendering__tests__provider_errors.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__rendering__tests__provider_errors.snap @@ -11,7 +11,7 @@ provider_error_local_80 provider_error_mismatch_local_80 🔒 Continue in a new chat - This chat uses Team Gateway, but Codex now uses Amazon Bedrock Runtime, + This chat uses Team Gateway, but aKode now uses Amazon Bedrock Runtime, so this chat is read-only. c continue in new chat · n start fresh · esc other chats @@ -19,7 +19,7 @@ provider_error_mismatch_local_80 provider_error_mismatch_local_40 🔒 Continue in a new chat This chat uses Team Gateway, but - Codex now uses Amazon Bedrock + aKode now uses Amazon Bedrock Runtime, so this chat is read- only. @@ -28,7 +28,7 @@ provider_error_mismatch_local_40 provider_error_mismatch_remote_80 🔒 Continue in a new chat - This chat uses Team Gateway, but Codex now uses Amazon Bedrock Runtime, + This chat uses Team Gateway, but aKode now uses Amazon Bedrock Runtime, so this chat is read-only. Configuration on ws://devbox.example.com:4500/ diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__app_server_guardian_review_denied_renders_denied_request.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__app_server_guardian_review_denied_renders_denied_request.snap index 832d39d9..30b3cd3e 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__app_server_guardian_review_denied_renders_denied_request.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__app_server_guardian_review_denied_renders_denied_request.snap @@ -15,6 +15,6 @@ expression: normalize_snapshot_paths(term.backend().vt100().screen().contents()) • Working (0s • esc to interrupt) -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__app_server_guardian_review_timed_out_renders_timed_out_request.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__app_server_guardian_review_timed_out_renders_timed_out_request.snap index 740c9a6f..544d3d41 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__app_server_guardian_review_timed_out_renders_timed_out_request.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__app_server_guardian_review_timed_out_renders_timed_out_request.snap @@ -15,6 +15,6 @@ expression: normalize_snapshot_paths(term.backend().vt100().screen().contents()) • Working (0s • esc to interrupt) -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__app_server_mcp_startup_failure_renders_warning_history.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__app_server_mcp_startup_failure_renders_warning_history.snap index 844a0415..cc1d6c92 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__app_server_mcp_startup_failure_renders_warning_history.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__app_server_mcp_startup_failure_renders_warning_history.snap @@ -9,6 +9,6 @@ expression: normalize_snapshot_paths(term.backend().vt100().screen().contents()) ⚠ MCP startup incomplete (failed: alpha) -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approval_modal_exec.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approval_modal_exec.snap index af95c22f..70426f73 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approval_modal_exec.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approval_modal_exec.snap @@ -13,6 +13,6 @@ expression: terminal.backend().vt100().screen().contents() › 1. Yes, proceed (y) 2. Yes, and don't ask again for commands that start with `echo hello world` (p) - 3. No, and tell Codex what to do differently (esc) + 3. No, and tell aKode what to do differently (esc) Press enter to confirm or esc to cancel diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approval_modal_exec_multiline_prefix_no_execpolicy.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approval_modal_exec_multiline_prefix_no_execpolicy.snap index 89497741..72dbeef8 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approval_modal_exec_multiline_prefix_no_execpolicy.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approval_modal_exec_multiline_prefix_no_execpolicy.snap @@ -12,6 +12,6 @@ expression: contents › 1. Yes, proceed (y) - 2. No, and tell Codex what to do differently (esc) + 2. No, and tell aKode what to do differently (esc) Press enter to confirm or esc to cancel diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approval_modal_exec_no_reason.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approval_modal_exec_no_reason.snap index 2d5297bf..225f203a 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approval_modal_exec_no_reason.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approval_modal_exec_no_reason.snap @@ -11,6 +11,6 @@ expression: terminal.backend().vt100().screen().contents() › 1. Yes, proceed (y) 2. Yes, and don't ask again for commands that start with `echo hello world` (p) - 3. No, and tell Codex what to do differently (esc) + 3. No, and tell aKode what to do differently (esc) Press enter to confirm or esc to cancel diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approval_modal_patch.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approval_modal_patch.snap index 81b90de7..4f780f45 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approval_modal_patch.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approval_modal_patch.snap @@ -12,6 +12,6 @@ expression: normalize_snapshot_paths(contents) › 1. Yes, proceed (y) 2. Yes, and don't ask again for these files (a) - 3. No, and tell Codex what to do differently (esc) + 3. No, and tell aKode what to do differently (esc) Press enter to confirm or esc to cancel diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approvals_selection_popup.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approvals_selection_popup.snap index 8717f1d0..426a466f 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approvals_selection_popup.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__approvals_selection_popup.snap @@ -8,7 +8,7 @@ expression: popup › 1. Ask for approval Read and edit workspace files and run commands, with approval required for internet access or edits outside the workspace - 2. Full Access Use with caution: Codex can edit files outside this + 2. Full Access Use with caution: aKode can edit files outside this workspace and access the internet without approval enter select · esc back diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__catalog_model_session_header_resume.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__catalog_model_session_header_resume.snap index 915041d8..efee406b 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__catalog_model_session_header_resume.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__catalog_model_session_header_resume.snap @@ -3,6 +3,7 @@ source: tui/src/chatwidget/tests/app_server.rs assertion_line: 99 expression: rendered --- -OpenAI Codex (v) +aKode v model: GPT-5.6 Luna high +provider: OpenAI directory: /tmp/thread-settings diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__catalog_model_session_header_startup.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__catalog_model_session_header_startup.snap index 915041d8..efee406b 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__catalog_model_session_header_startup.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__catalog_model_session_header_startup.snap @@ -3,6 +3,7 @@ source: tui/src/chatwidget/tests/app_server.rs assertion_line: 99 expression: rendered --- -OpenAI Codex (v) +aKode v model: GPT-5.6 Luna high +provider: OpenAI directory: /tmp/thread-settings diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__catalog_model_session_header_unknown_model.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__catalog_model_session_header_unknown_model.snap index 147a544c..63eafbcf 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__catalog_model_session_header_unknown_model.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__catalog_model_session_header_unknown_model.snap @@ -3,6 +3,7 @@ source: tui/src/chatwidget/tests/app_server.rs assertion_line: 99 expression: rendered --- -OpenAI Codex (v) +aKode v model: us.openai.gpt-5.6-luna high +provider: OpenAI directory: /tmp/thread-settings diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__chatwidget_tall.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__chatwidget_tall.snap index 8d0df9a9..150a5d19 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__chatwidget_tall.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__chatwidget_tall.snap @@ -23,6 +23,6 @@ expression: normalize_snapshot_paths(term.backend().vt100().screen().contents()) ↳ Hello, world! 14 ↳ Hello, world! 15 -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__clipped_full_access_confirmation.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__clipped_full_access_confirmation.snap index 42b176c8..28c85434 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__clipped_full_access_confirmation.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__clipped_full_access_confirmation.snap @@ -5,7 +5,7 @@ expression: "snapshots.join(\"\\n\\n\")" 40x10 Enable full access? - When Codex runs with full + When aKode runs with full access, it can edit any file on your computer and run commands with network, without your diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__compact_queues_user_messages_snapshot.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__compact_queues_user_messages_snapshot.snap index a4362bec..8a77c3e7 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__compact_queues_user_messages_snapshot.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__compact_queues_user_messages_snapshot.snap @@ -17,6 +17,6 @@ expression: normalize_snapshot_paths(term.backend().vt100().screen().contents()) • Messages to be submitted at end of turn ↳ Steer submitted while /compact was running. -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__compaction_running.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__compaction_running.snap index fff40163..7b6bf79d 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__compaction_running.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__compaction_running.snap @@ -6,6 +6,6 @@ expression: "normalize_compaction_snapshot(render_bottom_popup(&chat, 80))" └ Making room to continue. -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__compaction_running_narrow.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__compaction_running_narrow.snap index 161bd517..ab62ef59 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__compaction_running_narrow.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__compaction_running_narrow.snap @@ -6,6 +6,6 @@ expression: "normalize_compaction_snapshot(render_bottom_popup(&chat, 40))" └ Making room to continue. -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__completed_hook_with_output_flushes_immediately_snapshot.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__completed_hook_with_output_flushes_immediately_snapshot.snap index 2658f7c1..edd5f18f 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__completed_hook_with_output_flushes_immediately_snapshot.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__completed_hook_with_output_flushes_immediately_snapshot.snap @@ -8,7 +8,7 @@ activity: "• Checking command " " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " history: @@ -18,7 +18,7 @@ completed activity: " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " history: diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__completed_same_id_hook_output_survives_restart_snapshot.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__completed_same_id_hook_output_survives_restart_snapshot.snap index 9fe87abc..b9da15ff 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__completed_same_id_hook_output_survives_restart_snapshot.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__completed_same_id_hook_output_survives_restart_snapshot.snap @@ -8,7 +8,7 @@ activity: "• Checking stop condition " " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " history: diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__completed_turn_clears_visible_running_hook.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__completed_turn_clears_visible_running_hook.snap index 749ed94a..4ff9f179 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__completed_turn_clears_visible_running_hook.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__completed_turn_clears_visible_running_hook.snap @@ -7,12 +7,12 @@ before completion: "• Working (0s • esc to interrupt) · Running hook " " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " after completion: " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__custom_model_display_name_status_line.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__custom_model_display_name_status_line.snap index cd133ee3..7960207e 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__custom_model_display_name_status_line.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__custom_model_display_name_status_line.snap @@ -4,6 +4,6 @@ expression: normalized_backend_snapshot(terminal.backend()) --- " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6 Luna · GPT-5.6 Luna high " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__declined_tool_suggestion.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__declined_tool_suggestion.snap index b3e42a74..067e1cba 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__declined_tool_suggestion.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__declined_tool_suggestion.snap @@ -3,6 +3,6 @@ source: tui/src/chatwidget/tests/app_server.rs assertion_line: 572 expression: popup --- -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__esc_interrupt_goal_paused_footer.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__esc_interrupt_goal_paused_footer.snap index d9aaa4e5..946510dd 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__esc_interrupt_goal_paused_footer.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__esc_interrupt_goal_paused_footer.snap @@ -6,6 +6,6 @@ expression: snapshot "• Working (0s • esc to interrupt) " " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project Goal paused (/goal resume) " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__experimental_features_available_popup.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__experimental_features_available_popup.snap index 5c260d76..f4e523d3 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__experimental_features_available_popup.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__experimental_features_available_popup.snap @@ -5,7 +5,7 @@ expression: popup --- Experimental features Checked features are configured on. Some experimental features take effect - only in new tasks or after restarting the Codex server. + only in new tasks or after restarting the aKode server. › [ ] Network proxy Apply network proxy restrictions to sandboxed diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__experimental_features_loading.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__experimental_features_loading.snap index 693ea0c7..f5080869 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__experimental_features_loading.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__experimental_features_loading.snap @@ -5,7 +5,7 @@ expression: "render_bottom_popup(&chat, 80)" --- Experimental features Checked features are configured on. Some experimental features take effect - only in new tasks or after restarting the Codex server. + only in new tasks or after restarting the aKode server. Loading server experiments… diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__experimental_features_popup.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__experimental_features_popup.snap index 2b435d75..0a740102 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__experimental_features_popup.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__experimental_features_popup.snap @@ -4,7 +4,7 @@ expression: popup --- Experimental features Checked features are configured on. Some experimental features take effect - only in new tasks or after restarting the Codex server. + only in new tasks or after restarting the aKode server. › [ ] JavaScript REPL Enable a persistent Node-backed JavaScript REPL for diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__experimental_features_popup_configured_key_chords.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__experimental_features_popup_configured_key_chords.snap index 1ae34036..c913f9dd 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__experimental_features_popup_configured_key_chords.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__experimental_features_popup_configured_key_chords.snap @@ -4,7 +4,7 @@ expression: popup --- Experimental features Checked features are configured on. Some experimental features take effect - only in new tasks or after restarting the Codex server. + only in new tasks or after restarting the aKode server. › [x] Shell tool Allow the model to run shell commands. diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__full_access_confirmation_popup.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__full_access_confirmation_popup.snap index 20835a2d..c46bf478 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__full_access_confirmation_popup.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__full_access_confirmation_popup.snap @@ -3,7 +3,7 @@ source: tui/src/chatwidget/tests/permissions.rs expression: popup --- Enable full access? -› As When Codex runs with full access, it can edit any file on your +› As When aKode runs with full access, it can edit any file on your computer and run commands with network, without your approval. GP Exercise caution when enabling full access. This significantly increases the risk of data loss, leaks, or unexpected behavior. diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_approved_exec_is_hidden_from_history.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_approved_exec_is_hidden_from_history.snap index 489c81b4..1950af59 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_approved_exec_is_hidden_from_history.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_approved_exec_is_hidden_from_history.snap @@ -10,6 +10,6 @@ expression: normalize_snapshot_paths(term.backend().vt100().screen().contents()) -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_approved_request_permissions_clears_status_without_history.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_approved_request_permissions_clears_status_without_history.snap index 9e552010..abb91a37 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_approved_request_permissions_clears_status_without_history.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_approved_request_permissions_clears_status_without_history.snap @@ -10,6 +10,6 @@ expression: normalize_snapshot_paths(term.backend().vt100().screen().contents()) • Working (0s • esc to interrupt) -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_denied_exec_renders_warning_and_denied_request.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_denied_exec_renders_warning_and_denied_request.snap index c97ab12d..4f3ad4d9 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_denied_exec_renders_warning_and_denied_request.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_denied_exec_renders_warning_and_denied_request.snap @@ -19,6 +19,6 @@ expression: normalize_snapshot_paths(term.backend().vt100().screen().contents()) • Working (0s • esc to interrupt) -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_goal_continuation_drops_stale_reviews.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_goal_continuation_drops_stale_reviews.snap index f422c75d..d2d5676c 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_goal_continuation_drops_stale_reviews.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_goal_continuation_drops_stale_reviews.snap @@ -6,6 +6,6 @@ expression: normalize_snapshot_paths(rendered) └ rm -rf '/tmp/current-review' -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_parallel_reviews_render_aggregate_status.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_parallel_reviews_render_aggregate_status.snap index cdadc018..dc25b9a7 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_parallel_reviews_render_aggregate_status.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_parallel_reviews_render_aggregate_status.snap @@ -7,6 +7,6 @@ expression: normalize_snapshot_paths(rendered) • rm -rf '/tmp/guardian target 2' -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_timed_out_exec_renders_warning_and_timed_out_request.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_timed_out_exec_renders_warning_and_timed_out_request.snap index 0210b58f..298a365a 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_timed_out_exec_renders_warning_and_timed_out_request.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_timed_out_exec_renders_warning_and_timed_out_request.snap @@ -19,6 +19,6 @@ expression: normalize_snapshot_paths(term.backend().vt100().screen().contents()) • Working (0s • esc to interrupt) -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_write_stdin_review_status.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_write_stdin_review_status.snap index 01b02b2c..90899029 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_write_stdin_review_status.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__guardian_write_stdin_review_status.snap @@ -6,6 +6,6 @@ expression: "normalize_snapshot_paths(render_bottom_popup(&chat, 80))" └ send input to terminal 42: "confirm\n" -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__hidden_shell_paste_queued_preview.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__hidden_shell_paste_queued_preview.snap index 22e76c24..7ce80bab 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__hidden_shell_paste_queued_preview.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__hidden_shell_paste_queued_preview.snap @@ -8,6 +8,6 @@ expression: "normalize_snapshot_paths(render_bottom_popup(&chat, 80))" ↳ [Pasted Content 1006 chars] ⇧← edit last queued message -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__hook_runs_while_exec_active_snapshot.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__hook_runs_while_exec_active_snapshot.snap index a5433172..db86bd61 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__hook_runs_while_exec_active_snapshot.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__hook_runs_while_exec_active_snapshot.snap @@ -12,7 +12,7 @@ exec and hook running: "• Working (0s • esc to interrupt) · checking output policy " " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " history after exec: @@ -24,7 +24,7 @@ hook running after exec: "• Working (0s • esc to interrupt) · checking output policy " " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " quiet hook completed: @@ -32,6 +32,6 @@ quiet hook completed: "• Working (0s • esc to interrupt) " " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__interrupted_turn_clears_visible_running_hook.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__interrupted_turn_clears_visible_running_hook.snap index 9e65facf..64b3fa30 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__interrupted_turn_clears_visible_running_hook.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__interrupted_turn_clears_visible_running_hook.snap @@ -7,12 +7,12 @@ before interrupt: "• Working (0s • esc to interrupt) · checking command policy " " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " after interrupt: " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__long_running_hook_below_background_activity_row.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__long_running_hook_below_background_activity_row.snap index 7c1ff48f..0aa4c798 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__long_running_hook_below_background_activity_row.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__long_running_hook_below_background_activity_row.snap @@ -8,7 +8,7 @@ expression: "format!(\"80 columns:\\n{}\\n120 columns:\\n{}\", hook_status_frame " └ checking command policy for deployment commands, production credentials, an…" " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " 120 columns: @@ -17,6 +17,6 @@ expression: "format!(\"80 columns:\\n{}\\n120 columns:\\n{}\", hook_status_frame " └ checking command policy for deployment commands, production credentials, and paths containing 日本語 before continu…" Hidden by multi-width symbols: [(99, " "), (101, " "), (103, " ")] " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__manual_thread_name_status_surfaces.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__manual_thread_name_status_surfaces.snap index bff7d27f..11cffaa8 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__manual_thread_name_status_surfaces.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__manual_thread_name_status_surfaces.snap @@ -5,7 +5,7 @@ expression: "format!(\"transcript:\\n{transcript}\\nfooter:\\n{footer}\\ntitle: transcript: footer: -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project · review-fix title: review-fix | project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__mcp_startup_header_booting.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__mcp_startup_header_booting.snap index f7988ba6..d41b9710 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__mcp_startup_header_booting.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__mcp_startup_header_booting.snap @@ -4,6 +4,6 @@ expression: normalized_backend_snapshot(terminal.backend()) --- " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__memories_reset_confirmation.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__memories_reset_confirmation.snap index e2cfc0f4..b71bf50e 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__memories_reset_confirmation.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__memories_reset_confirmation.snap @@ -3,7 +3,7 @@ source: tui/src/chatwidget/tests/popups_and_settings.rs expression: popup --- Reset all memories? - This clears local memory files and rollout summaries for the current Codex + This clears local memory files and rollout summaries for the current aKode home. diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__memories_settings_popup.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__memories_settings_popup.snap index 9375acca..55870e92 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__memories_settings_popup.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__memories_settings_popup.snap @@ -3,7 +3,7 @@ source: tui/src/chatwidget/tests/popups_and_settings.rs expression: popup --- Memories - Choose how Codex uses and creates memories. Changes are saved to config.toml + Choose how aKode uses and creates memories. Changes are saved to config.toml › [x] Use memories Use memories starting with the next thread diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__misalignment_turn_end_cleared_composer.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__misalignment_turn_end_cleared_composer.snap index 37aff5b7..1c83befa 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__misalignment_turn_end_cleared_composer.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__misalignment_turn_end_cleared_composer.snap @@ -3,6 +3,6 @@ source: tui/src/chatwidget/tests/misalignment_policy_tests.rs assertion_line: 236 expression: "normalize_snapshot_paths(render_bottom_popup(&chat, 80))" --- -› Ask Codex to do anything +› Ask aKode to do anything esc esc to edit previous message diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__mixed_running_hooks_share_background_activity_row.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__mixed_running_hooks_share_background_activity_row.snap index f8f8b45f..7e825ef0 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__mixed_running_hooks_share_background_activity_row.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__mixed_running_hooks_share_background_activity_row.snap @@ -8,7 +8,7 @@ expression: "format!(\"80 columns:\\n{}\\n120 columns:\\n{}\", hook_status_frame " └ Running hooks " " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " 120 columns: @@ -16,6 +16,6 @@ expression: "format!(\"80 columns:\\n{}\\n120 columns:\\n{}\", hook_status_frame "• Working (0s • esc to interrupt) · 1 background terminal running · /ps to view · /stop to close · Running hooks " " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__overlapping_hook_live_cell_snapshot.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__overlapping_hook_live_cell_snapshot.snap index 25e7c7a1..118ef4fd 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__overlapping_hook_live_cell_snapshot.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__overlapping_hook_live_cell_snapshot.snap @@ -8,7 +8,7 @@ activity: "• Thinking (0s • esc to interrupt) · checking command policy " " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " history: @@ -20,7 +20,7 @@ activity: "• Thinking (0s • esc to interrupt) · Running hooks " " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " history: @@ -32,7 +32,7 @@ activity: "• Thinking (0s • esc to interrupt) · checking output policy " " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " history: @@ -44,7 +44,7 @@ activity: "• Thinking (0s • esc to interrupt) " " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " history: diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__permission_discovery_remote.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__permission_discovery_remote.snap index 4d8f9d75..12f0aa8d 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__permission_discovery_remote.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__permission_discovery_remote.snap @@ -9,7 +9,7 @@ expression: "render_bottom_popup(&chat, 110)" internet access or edits outside the workspace Approve for me (disabled) Only ask for actions detected as potentially unsafe (disabled: Disabled by requirements) - Full Access (disabled) Use with caution: Codex can edit files outside this workspace and access the + Full Access (disabled) Use with caution: aKode can edit files outside this workspace and access the internet without approval (disabled: Disabled by requirements) Read Only (disabled) Read workspace files, with approval required for edits or internet access (disabled: Disabled by requirements) diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__permissions_unnamed_server_profile.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__permissions_unnamed_server_profile.snap index 3d466718..735ea390 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__permissions_unnamed_server_profile.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__permissions_unnamed_server_profile.snap @@ -8,7 +8,7 @@ expression: popup 1. Ask for approval Read and edit workspace files and run commands, with approval required for internet access or edits outside the workspace › 2. Approve for me (current) Only ask for actions detected as potentially unsafe - 3. Full Access Use with caution: Codex can edit files outside this workspace and access the internet + 3. Full Access Use with caution: aKode can edit files outside this workspace and access the internet without approval 4. Read Only Read workspace files, with approval required for edits or internet access diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__plugins_popup_marketplace_remove_confirmation.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__plugins_popup_marketplace_remove_confirmation.snap index f48a5f69..73954357 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__plugins_popup_marketplace_remove_confirmation.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__plugins_popup_marketplace_remove_confirmation.snap @@ -3,8 +3,8 @@ source: tui/src/chatwidget/tests/popups_and_settings.rs expression: confirmation --- Plugins -› Ask Codex to Remove Repo Marketplace marketplace? - This removes the configured marketplace from Codex. +› Ask aKode to Remove Repo Marketplace marketplace? + This removes the configured marketplace from aKode. GPT-5.6-Sol › 1. Remove marketplace Remove this marketplace from the available diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__profile_permissions_selection_popup.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__profile_permissions_selection_popup.snap index 7f5d0192..b1c8fb1d 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__profile_permissions_selection_popup.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__profile_permissions_selection_popup.snap @@ -10,7 +10,7 @@ expression: "render_bottom_popup(&chat, 80)" edits outside the workspace 2. Approve for me Only ask for actions detected as potentially unsafe - 3. Full Access Use with caution: Codex can edit files outside + 3. Full Access Use with caution: aKode can edit files outside this workspace and access the internet without approval 4. Read Only Read workspace files, with approval required diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__profile_permissions_selection_popup_with_custom_profiles.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__profile_permissions_selection_popup_with_custom_profiles.snap index 502d123d..67d2a4bd 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__profile_permissions_selection_popup_with_custom_profiles.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__profile_permissions_selection_popup_with_custom_profiles.snap @@ -9,7 +9,7 @@ expression: "render_bottom_popup(&chat, 80)" with approval required for internet access or edits outside the workspace 2. Approve for me Only ask for actions detected as potentially unsafe - 3. Full Access Use with caution: Codex can edit files outside this + 3. Full Access Use with caution: aKode can edit files outside this workspace and access the internet without approval 4. Read Only Read workspace files, with approval required for edits or internet access diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__profile_permissions_selection_popup_with_disallowed_full_access.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__profile_permissions_selection_popup_with_disallowed_full_access.snap index 0fde3e50..a340da8c 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__profile_permissions_selection_popup_with_disallowed_full_access.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__profile_permissions_selection_popup_with_disallowed_full_access.snap @@ -9,7 +9,7 @@ expression: "render_bottom_popup(&chat, 80)" with approval required for internet access or edits outside the workspace 2. Approve for me Only ask for actions detected as potentially unsafe - Full Access (disabled) Use with caution: Codex can edit files outside this + Full Access (disabled) Use with caution: aKode can edit files outside this workspace and access the internet without approval (disabled: Disabled by requirements) › 3. Read Only (current) Read workspace files, with approval required for diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__projectless_windows_sandbox_setup.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__projectless_windows_sandbox_setup.snap index 54f5d94a..928bdfdf 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__projectless_windows_sandbox_setup.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__projectless_windows_sandbox_setup.snap @@ -2,7 +2,7 @@ source: tui/src/chatwidget/tests/permissions.rs expression: popup --- - Set up the Codex agent sandbox to protect your files and control network access. Learn more + Set up the aKode agent sandbox to protect your files and control network access. Learn more diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__quick_dial_shortcuts_empty.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__quick_dial_shortcuts_empty.snap index 72c88998..b3f71f24 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__quick_dial_shortcuts_empty.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__quick_dial_shortcuts_empty.snap @@ -9,4 +9,4 @@ expression: "render_bottom_popup(&chat, 100)" n · new s · from settings e · edit d · delete esc · close -› Ask Codex to do anything +› Ask aKode to do anything diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__reasoning_delta_restores_recreated_status_indicator.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__reasoning_delta_restores_recreated_status_indicator.snap index 6303a9dd..2fa95ce9 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__reasoning_delta_restores_recreated_status_indicator.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__reasoning_delta_restores_recreated_status_indicator.snap @@ -7,6 +7,6 @@ expression: normalized_backend_snapshot(terminal.backend()) "• Checking files and preparing a response (0s • esc to interrupt) · 1 backgroun…" " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__reasoning_shortcut_max_footer.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__reasoning_shortcut_max_footer.snap index 34012bf8..fe4a6dae 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__reasoning_shortcut_max_footer.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__reasoning_shortcut_max_footer.snap @@ -4,6 +4,6 @@ expression: snapshot --- " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.5 max " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__reasoning_shortcut_max_plan_footer.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__reasoning_shortcut_max_plan_footer.snap index fb661e52..491d005a 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__reasoning_shortcut_max_plan_footer.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__reasoning_shortcut_max_plan_footer.snap @@ -4,6 +4,6 @@ expression: snapshot --- " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.5 max Plan mode (⇧tab to cycle) " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__renamed_thread_footer_title.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__renamed_thread_footer_title.snap index 536edffe..c1eedc35 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__renamed_thread_footer_title.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__renamed_thread_footer_title.snap @@ -4,6 +4,6 @@ expression: normalized_backend_snapshot(terminal.backend()) --- " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " gpt-5.2 high · Roadmap cleanup " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__replayed_delegated_tool_output.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__replayed_delegated_tool_output.snap index 2f46df35..ad137185 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__replayed_delegated_tool_output.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__replayed_delegated_tool_output.snap @@ -2,7 +2,7 @@ source: tui/src/chatwidget/tests/history_replay.rs expression: "lines_to_single_string(&cells[0])" --- -• Sent by Codex from task source-task +• Sent by aKode from task source-task Follow up on the PR (https://example.com/pr). • Review & report. diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__replayed_in_progress_turn.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__replayed_in_progress_turn.snap index 126e67cc..4b897fbf 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__replayed_in_progress_turn.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__replayed_in_progress_turn.snap @@ -5,6 +5,6 @@ expression: "timer.replace_all(&normalize_snapshot_paths(render_bottom_popup(&ch • Working ( • esc to interrupt) -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__resume_paused_goal_prompt.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__resume_paused_goal_prompt.snap index 14825406..4d897fc0 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__resume_paused_goal_prompt.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__resume_paused_goal_prompt.snap @@ -3,7 +3,7 @@ source: tui/src/chatwidget/tests/goal_menu.rs expression: "render_bottom_popup(&chat, 100)" --- Resume paused goal? -› Ask Codex to Goal: Keep improving the bare goal command until it feels calm and +› Ask aKode to Goal: Keep improving the bare goal command until it feels calm and useful. GPT-5.6-Sol diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__review_queues_user_messages_snapshot.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__review_queues_user_messages_snapshot.snap index 7f11c14a..4d2102cf 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__review_queues_user_messages_snapshot.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__review_queues_user_messages_snapshot.snap @@ -17,6 +17,6 @@ expression: normalize_snapshot_paths(term.backend().vt100().screen().contents()) • Messages to be submitted at end of turn ↳ Steer submitted while /review was running. -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__running_hooks_share_background_activity_row.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__running_hooks_share_background_activity_row.snap index 57e16115..d3dd99b3 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__running_hooks_share_background_activity_row.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__running_hooks_share_background_activity_row.snap @@ -8,7 +8,7 @@ expression: "format!(\"80 columns:\\n{}\\n120 columns:\\n{}\", hook_status_frame " └ checking command policy " " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " 120 columns: @@ -17,6 +17,6 @@ expression: "format!(\"80 columns:\\n{}\\n120 columns:\\n{}\", hook_status_frame " └ checking command policy " " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__safety_buffering_retry_prompt.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__safety_buffering_retry_prompt.snap index e5cbe33b..b90937ea 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__safety_buffering_retry_prompt.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__safety_buffering_retry_prompt.snap @@ -11,5 +11,5 @@ expression: popup 2. Dismiss and keep waiting 3. Learn more - No action is required. Codex will keep waiting, and this menu will close when + No action is required. aKode will keep waiting, and this menu will close when the response is ready. diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__safety_buffering_side_conversation_without_retry.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__safety_buffering_side_conversation_without_retry.snap index eb482d53..bdccd3b4 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__safety_buffering_side_conversation_without_retry.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__safety_buffering_side_conversation_without_retry.snap @@ -8,5 +8,5 @@ expression: popup › 1. Dismiss and keep waiting 2. Learn more - No action is required. Codex will keep waiting, and this menu will close when + No action is required. aKode will keep waiting, and this menu will close when the response is ready. diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__safety_buffering_status_without_retry.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__safety_buffering_status_without_retry.snap index eb482d53..bdccd3b4 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__safety_buffering_status_without_retry.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__safety_buffering_status_without_retry.snap @@ -8,5 +8,5 @@ expression: popup › 1. Dismiss and keep waiting 2. Learn more - No action is required. Codex will keep waiting, and this menu will close when + No action is required. aKode will keep waiting, and this menu will close when the response is ready. diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__session_end_hook_activity.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__session_end_hook_activity.snap index ea69dee6..987c23fd 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__session_end_hook_activity.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__session_end_hook_activity.snap @@ -5,7 +5,7 @@ expression: "format!(\"before reveal:\\n{hidden}\\nrunning:\\n{running}\\ncomple before reveal: " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " running: @@ -13,12 +13,12 @@ running: "• Saving session summary " " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " completed: " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__session_end_hook_activity_without_message.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__session_end_hook_activity_without_message.snap index 9a05181d..fba737f8 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__session_end_hook_activity_without_message.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__session_end_hook_activity_without_message.snap @@ -5,7 +5,7 @@ expression: "format!(\"before reveal:\\n{hidden}\\nrunning:\\n{running}\\ncomple before reveal: " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " running: @@ -13,12 +13,12 @@ running: "• Running hook " " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " completed: " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__side_context_label_shows_hidden_side.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__side_context_label_shows_hidden_side.snap index 51133a16..c0e6406c 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__side_context_label_shows_hidden_side.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__side_context_label_shows_hidden_side.snap @@ -4,6 +4,6 @@ expression: terminal.backend() --- " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol ctrl+/ for side " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__single_line_final_answer_hides_working_status.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__single_line_final_answer_hides_working_status.snap index dfa6b7a0..d3926e4e 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__single_line_final_answer_hides_working_status.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__single_line_final_answer_hides_working_status.snap @@ -9,6 +9,6 @@ expression: normalize_snapshot_paths(terminal.backend().vt100().screen().content • 1 -› Ask Codex to do anything +› Ask aKode to do anything gpt-5 default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__single_line_partial_answer_keeps_working_status.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__single_line_partial_answer_keeps_working_status.snap index f5b6cdd6..9640b2f9 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__single_line_partial_answer_keeps_working_status.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__single_line_partial_answer_keeps_working_status.snap @@ -9,6 +9,6 @@ expression: normalize_snapshot_paths(terminal.backend().vt100().screen().content • Working (0s • esc to interrupt) -› Ask Codex to do anything +› Ask aKode to do anything gpt-5 default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_copy_picker_status_fields.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_copy_picker_status_fields.snap index b2801213..19b62d84 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_copy_picker_status_fields.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_copy_picker_status_fields.snap @@ -5,7 +5,7 @@ expression: "render_bottom_popup(&chat,\n100).replace(&directory,\n\"[[workspace Copy to clipboard -› 1. Whole status >_ OpenAI Codex (vVERSION) +› 1. Whole status >_ aKode (vVERSION) 2. Model gpt-5.5 3. Directory [[workspace]] 4. Thread name Clipboard example diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_copy_whole_status.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_copy_whole_status.snap index 342254c4..c633783a 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_copy_whole_status.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_copy_whole_status.snap @@ -2,7 +2,7 @@ source: tui/src/chatwidget/tests/slash_commands.rs expression: "whole_status.replace(&directory,\n\"[[workspace]]\").replace(crate::version::CODEX_CLI_VERSION, \"VERSION\")" --- ->_ OpenAI Codex (vVERSION) +>_ aKode (vVERSION) Model: GPT-5.5 (reasoning medium, summaries auto) Model provider: openai diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_pets_unavailable_tmux_40.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_pets_unavailable_tmux_40.snap index bd47fb00..df8f0f63 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_pets_unavailable_tmux_40.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_pets_unavailable_tmux_40.snap @@ -5,8 +5,8 @@ expression: "render_bottom_popup(&chat, 40)" --- Pets unavailable Pets are unavailable in this tmux - pane. Use fullscreen Codex with - allow-passthrough all, or run Codex + pane. Use fullscreen aKode with + allow-passthrough all, or run aKode outside tmux. diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_side_requests_forked_side_question_while_task_running.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_side_requests_forked_side_question_while_task_running.snap index 558a9e05..d56c1cea 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_side_requests_forked_side_question_while_task_running.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__slash_side_requests_forked_side_question_while_task_running.snap @@ -6,6 +6,6 @@ expression: normalized_backend_snapshot(terminal.backend()) "• Working (0s • esc to interrupt) " " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default Side starting... " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_fast_mode_footer.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_fast_mode_footer.snap index 5c97c9c8..ebc0ddf4 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_fast_mode_footer.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_fast_mode_footer.snap @@ -4,6 +4,6 @@ expression: normalized_backend_snapshot(terminal.backend()) --- " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " gpt-5.2 high · Standard " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_goal_active_token_budget_footer.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_goal_active_token_budget_footer.snap index d7fddce1..4779e0d8 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_goal_active_token_budget_footer.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_goal_active_token_budget_footer.snap @@ -4,6 +4,6 @@ expression: normalized_backend_snapshot(terminal.backend()) --- " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.5 Pursuing goal (40K / 50K) " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_goal_complete_elapsed_footer.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_goal_complete_elapsed_footer.snap index 10e1d640..23fc22a2 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_goal_complete_elapsed_footer.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_goal_complete_elapsed_footer.snap @@ -4,6 +4,6 @@ expression: normalized_backend_snapshot(terminal.backend()) --- " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.5 Goal achieved (2d 23h 42m) " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_model_with_reasoning_context_remaining_footer.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_model_with_reasoning_context_remaining_footer.snap index 6200fdf1..355904ca 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_model_with_reasoning_context_remaining_footer.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_model_with_reasoning_context_remaining_footer.snap @@ -4,6 +4,6 @@ expression: normalized_backend_snapshot(terminal.backend()) --- " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " gpt-5.4 xhigh fast · Context 100% left · /tmp/project " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_model_with_reasoning_fast_footer.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_model_with_reasoning_fast_footer.snap index 2ac794d2..1dd78fa5 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_model_with_reasoning_fast_footer.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_model_with_reasoning_fast_footer.snap @@ -4,6 +4,6 @@ expression: normalized_backend_snapshot(terminal.backend()) --- " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " gpt-5.4 xhigh fast · Context 0% used · /tmp/project " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_model_with_reasoning_plan_mode_footer.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_model_with_reasoning_plan_mode_footer.snap index 2bbd73de..710d5046 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_model_with_reasoning_plan_mode_footer.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_line_model_with_reasoning_plan_mode_footer.snap @@ -4,6 +4,6 @@ expression: normalized_backend_snapshot(terminal.backend()) --- " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " gpt-5.2 medium Plan mode (⇧tab to cycle) " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_widget_active.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_widget_active.snap index 0bbc0576..f5703264 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_widget_active.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_widget_active.snap @@ -6,6 +6,6 @@ expression: normalized_backend_snapshot(terminal.backend()) "• Analyzing (0s • esc to interrupt) " " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_widget_and_approval_modal.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_widget_and_approval_modal.snap index baf76cd6..fcba375f 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_widget_and_approval_modal.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__status_widget_and_approval_modal.snap @@ -13,6 +13,6 @@ expression: normalized_backend_snapshot(terminal.backend()) " " "› 1. Yes, proceed (y) " " 2. Yes, and don't ask again for commands that start with `echo 'hello world'` (p) " -" 3. No, and tell Codex what to do differently (esc) " +" 3. No, and tell aKode what to do differently (esc) " " " " Press enter to confirm or esc to cancel " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_hardcoded_only.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_hardcoded_only.snap index d471ee60..732443fa 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_hardcoded_only.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_hardcoded_only.snap @@ -10,7 +10,7 @@ expression: terminal_title_popup_snapshot(&mut chat) › [x] thread-title Current thread title, or thread identifier when unnamed [x] git-branch Current Git branch (omitted when unavailable) [x] task-progress Latest task progress from update_plan (omitted until available) - [ ] app-name Codex app name + [ ] app-name aKode app name [ ] project-name Project name (falls back to current directory name) [ ] current-dir Current working directory [ ] activity Spinner while working, action-required message while blocked diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_live_only.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_live_only.snap index 52339e9a..df2ac0b6 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_live_only.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_live_only.snap @@ -11,7 +11,7 @@ expression: terminal_title_popup_snapshot(&mut chat) [x] thread-title Current thread title, or thread identifier when unnamed [x] git-branch Current Git branch (omitted when unavailable) [x] task-progress Latest task progress from update_plan (omitted until available) - [ ] app-name Codex app name + [ ] app-name aKode app name [ ] current-dir Current working directory [ ] activity Spinner while working, action-required message while blocked [ ] run-state Compact session run-state text (Ready, Working, Thinking) diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_mixed.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_mixed.snap index 285037b5..dd334ef4 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_mixed.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_mixed.snap @@ -11,7 +11,7 @@ expression: terminal_title_popup_snapshot(&mut chat) [x] thread-title Current thread title, or thread identifier when unnamed [x] task-progress Latest task progress from update_plan (omitted until available) [x] fast-mode Effective processing tier for the current model - [ ] app-name Codex app name + [ ] app-name aKode app name [ ] current-dir Current working directory [ ] activity Spinner while working, action-required message while blocked [ ] run-state Compact session run-state text (Ready, Working, Thinking) diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_rate_limits.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_rate_limits.snap index 3eca27be..c86b4b5d 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_rate_limits.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__terminal_title_setup_popup_rate_limits.snap @@ -9,7 +9,7 @@ expression: terminal_title_popup_snapshot(&mut chat) › [x] monthly-limit Remaining usage on the monthly usage limit (omitted when unavailable) [x] weekly-limit Remaining usage on the weekly usage limit (omitted when unavailable) - [ ] app-name Codex app name + [ ] app-name aKode app name [ ] project-name Project name (falls back to current directory name) [ ] current-dir Current working directory [ ] activity Spinner while working, action-required message while blocked diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__unified_exec_begin_restores_working_status.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__unified_exec_begin_restores_working_status.snap index 68835e4e..e1252c10 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__unified_exec_begin_restores_working_status.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__unified_exec_begin_restores_working_status.snap @@ -6,6 +6,6 @@ expression: normalized_backend_snapshot(terminal.backend()) "• Working (0s • esc to interrupt) · 1 background terminal running · /ps to view…" " " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__unified_exec_wait_status_renders_command_in_single_details_row.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__unified_exec_wait_status_renders_command_in_single_details_row.snap index 980874d9..97e393a9 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__unified_exec_wait_status_renders_command_in_single_details_row.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__unified_exec_wait_status_renders_command_in_single_details_row.snap @@ -6,6 +6,6 @@ expression: normalize_snapshot_paths(rendered) └ cargo test -p codex-core -- --exact… -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.6-Sol default · /tmp/project diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__voice_live_transcript_and_stream.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__voice_live_transcript_and_stream.snap index bf09f278..98443efa 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__voice_live_transcript_and_stream.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__voice_live_transcript_and_stream.snap @@ -12,6 +12,6 @@ expression: rendered " " " voice ● listening f9 mute /voice stop " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__voice_partial_transcript_hidden.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__voice_partial_transcript_hidden.snap index bacf72ef..87a12ec1 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__voice_partial_transcript_hidden.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__voice_partial_transcript_hidden.snap @@ -8,6 +8,6 @@ expression: normalized_backend_snapshot(terminal.backend()) " " " voice ● listening f9 mute /voice stop " " " -"› Ask Codex to do anything " +"› Ask aKode to do anything " " " " GPT-5.6-Sol default · /tmp/project " diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__windows_sandbox_required_enable_prompt.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__windows_sandbox_required_enable_prompt.snap index 184aa6b2..264fc915 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__windows_sandbox_required_enable_prompt.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__windows_sandbox_required_enable_prompt.snap @@ -2,7 +2,7 @@ source: tui/src/chatwidget/tests/permissions.rs expression: "render_bottom_popup(&chat, 120)" --- - Your organization requires the default Codex agent sandbox to continue. Set it up to protect your files and control + Your organization requires the default aKode agent sandbox to continue. Set it up to protect your files and control network access. Learn more diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__windows_sandbox_required_fallback_prompt.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__windows_sandbox_required_fallback_prompt.snap index d6cf8509..2b91248e 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__windows_sandbox_required_fallback_prompt.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__windows_sandbox_required_fallback_prompt.snap @@ -4,7 +4,7 @@ expression: popup --- Couldn't set up your sandbox with Administrator permissions - Your organization requires the default sandbox before Codex can continue. + Your organization requires the default sandbox before aKode can continue. Learn more diff --git a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__windows_sandbox_unelevated_policy.snap b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__windows_sandbox_unelevated_policy.snap index 6463373a..31645122 100644 --- a/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__windows_sandbox_unelevated_policy.snap +++ b/codex-rs/tui/src/chatwidget/snapshots/codex_tui__chatwidget__tests__windows_sandbox_unelevated_policy.snap @@ -2,7 +2,7 @@ source: tui/src/chatwidget/tests/permissions.rs expression: "render_bottom_popup(&chat, 100)" --- - Set up the Codex agent sandbox to protect your files and control network access. Learn more + Set up the aKode agent sandbox to protect your files and control network access. Learn more diff --git a/codex-rs/tui/src/chatwidget/tests/app_server.rs b/codex-rs/tui/src/chatwidget/tests/app_server.rs index 0b9ac236..712b16c7 100644 --- a/codex-rs/tui/src/chatwidget/tests/app_server.rs +++ b/codex-rs/tui/src/chatwidget/tests/app_server.rs @@ -1984,7 +1984,7 @@ async fn live_app_server_server_overloaded_error_renders_error() { let rendered = lines_to_single_string(&cells[0]); insta::allow_duplicates! { if message.is_empty() { - insta::assert_snapshot!(rendered, @"■ Codex is currently experiencing high load."); + insta::assert_snapshot!(rendered, @"■ aKode is currently experiencing high load."); } else { insta::assert_snapshot!(rendered, @"■ server overloaded"); } diff --git a/codex-rs/tui/src/chatwidget/tests/mcp_startup.rs b/codex-rs/tui/src/chatwidget/tests/mcp_startup.rs index 647568ae..8fca725f 100644 --- a/codex-rs/tui/src/chatwidget/tests/mcp_startup.rs +++ b/codex-rs/tui/src/chatwidget/tests/mcp_startup.rs @@ -343,20 +343,7 @@ async fn pending_mcp_startup_dispatches_queued_slash_commands() { assert_matches!(rx.try_recv(), Ok(AppEvent::OpenResumePicker)); assert_no_submit_op(&mut op_rx); - let area = Rect::new( - /*x*/ 0, /*y*/ 0, /*width*/ 48, /*height*/ 17, - ); - let mut buffer = ratatui::buffer::Buffer::empty(area); - assert!( - chat.empty_state_animation - .borrow_mut() - .render_in( - area, - &mut buffer, - crate::empty_state_animation::Presentation::Animated, - ) - .is_some() - ); + assert!(chat.empty_state_animation.borrow().is_eligible()); } #[tokio::test] diff --git a/codex-rs/tui/src/chatwidget/tests/popups_and_settings.rs b/codex-rs/tui/src/chatwidget/tests/popups_and_settings.rs index aa0d54d7..98ba4728 100644 --- a/codex-rs/tui/src/chatwidget/tests/popups_and_settings.rs +++ b/codex-rs/tui/src/chatwidget/tests/popups_and_settings.rs @@ -1679,7 +1679,7 @@ async fn memories_reset_confirmation_snapshot() { assert_chatwidget_snapshot!("memories_reset_confirmation", popup); chat.handle_key_event(KeyEvent::from(KeyCode::Esc)); - assert!(render_bottom_popup(&chat, /*width*/ 80).contains("Choose how Codex uses")); + assert!(render_bottom_popup(&chat, /*width*/ 80).contains("Choose how aKode uses")); chat.handle_key_event(KeyEvent::from(KeyCode::Esc)); assert!(chat.no_modal_or_popup_active()); } diff --git a/codex-rs/tui/src/chatwidget/tests/snapshots/codex_tui__chatwidget__tests__approval_requests__exec_approval_modal_exec.snap b/codex-rs/tui/src/chatwidget/tests/snapshots/codex_tui__chatwidget__tests__approval_requests__exec_approval_modal_exec.snap index 1f959a33..71e2399b 100644 --- a/codex-rs/tui/src/chatwidget/tests/snapshots/codex_tui__chatwidget__tests__approval_requests__exec_approval_modal_exec.snap +++ b/codex-rs/tui/src/chatwidget/tests/snapshots/codex_tui__chatwidget__tests__approval_requests__exec_approval_modal_exec.snap @@ -18,7 +18,7 @@ Buffer { " ", " ", "› 1. Yes, proceed (y) ", - " 2. No, and tell Codex what to do differently (esc) ", + " 2. No, and tell aKode what to do differently (esc) ", " ", " Press enter to confirm or esc to cancel ", ], diff --git a/codex-rs/tui/src/chatwidget/tests/snapshots/codex_tui__chatwidget__tests__approval_requests__write_stdin_approval_modal.snap b/codex-rs/tui/src/chatwidget/tests/snapshots/codex_tui__chatwidget__tests__approval_requests__write_stdin_approval_modal.snap index ba2d361d..2b7ec568 100644 --- a/codex-rs/tui/src/chatwidget/tests/snapshots/codex_tui__chatwidget__tests__approval_requests__write_stdin_approval_modal.snap +++ b/codex-rs/tui/src/chatwidget/tests/snapshots/codex_tui__chatwidget__tests__approval_requests__write_stdin_approval_modal.snap @@ -13,7 +13,7 @@ Buffer { " ", " ", "› 1. Yes, proceed (y) ", - " 2. No, and tell Codex what to do differently (esc) ", + " 2. No, and tell aKode what to do differently (esc) ", " ", " Press enter to confirm or esc to cancel ", ], diff --git a/codex-rs/tui/src/chatwidget/tests/snapshots/codex_tui__chatwidget__tests__history_replay__resumed_history_banner.snap b/codex-rs/tui/src/chatwidget/tests/snapshots/codex_tui__chatwidget__tests__history_replay__resumed_history_banner.snap index 0e341a7e..00e4538b 100644 --- a/codex-rs/tui/src/chatwidget/tests/snapshots/codex_tui__chatwidget__tests__history_replay__resumed_history_banner.snap +++ b/codex-rs/tui/src/chatwidget/tests/snapshots/codex_tui__chatwidget__tests__history_replay__resumed_history_banner.snap @@ -3,8 +3,10 @@ source: tui/src/chatwidget/tests/history_replay.rs expression: history --- - >_ OpenAI Codex (v) - /home/user/project + ▄▄████▄▄ aKode v + ██▀▀██▀▀██ test-model · OpenAI + ██▄▄██▄▄██ /home/user/project + ██▀████▀██ › hello from user diff --git a/codex-rs/tui/src/chatwidget/tests/snapshots/codex_tui__chatwidget__tests__permissions__windows_sandbox_wrapped_help_url.snap b/codex-rs/tui/src/chatwidget/tests/snapshots/codex_tui__chatwidget__tests__permissions__windows_sandbox_wrapped_help_url.snap index 24f0a8e0..5c4f0f29 100644 --- a/codex-rs/tui/src/chatwidget/tests/snapshots/codex_tui__chatwidget__tests__permissions__windows_sandbox_wrapped_help_url.snap +++ b/codex-rs/tui/src/chatwidget/tests/snapshots/codex_tui__chatwidget__tests__permissions__windows_sandbox_wrapped_help_url.snap @@ -3,7 +3,7 @@ source: tui/src/chatwidget/tests/permissions.rs expression: visible --- - Set up the Codex agent sandbox to + Set up the aKode agent sandbox to protect your files and control network access. Learn more ]) { *self.rendered_selection.borrow_mut() = Default::default(); - self.empty_state_animation.borrow_mut().pause_clock(); let entries = self.warning_display_state.visible_entries(cells); let daemon_restart_hint_at = self .remote_connection diff --git a/codex-rs/tui/src/chatwidget/windows_sandbox_prompts.rs b/codex-rs/tui/src/chatwidget/windows_sandbox_prompts.rs index 39bbb795..e3a68160 100644 --- a/codex-rs/tui/src/chatwidget/windows_sandbox_prompts.rs +++ b/codex-rs/tui/src/chatwidget/windows_sandbox_prompts.rs @@ -35,11 +35,11 @@ impl ChatWidget { header.push(*Box::new( crate::terminal_hyperlinks::HyperlinkText::new(if allow_unelevated { vec![ - line!["Set up the Codex agent sandbox to protect your files and control network access. Learn more "], + line!["Set up the aKode agent sandbox to protect your files and control network access. Learn more "], ] } else { vec![ - line!["Your organization requires the default Codex agent sandbox to continue. Set it up to protect your files and control network access."], + line!["Your organization requires the default aKode agent sandbox to continue. Set it up to protect your files and control network access."], line!["Learn more "], ] }), @@ -157,11 +157,11 @@ impl ChatWidget { lines.push(line![""]); if allow_unelevated { lines.push(line![ - "You can still use Codex in a non-admin sandbox. It carries greater risk if prompt injected." + "You can still use aKode in a non-admin sandbox. It carries greater risk if prompt injected." ]); } else { lines.push(line![ - "Your organization requires the default sandbox before Codex can continue." + "Your organization requires the default sandbox before aKode can continue." ]); } lines.push(line![ @@ -209,7 +209,7 @@ impl ChatWidget { }; if allow_unelevated { items.push(SelectionItem { - name: "Use Codex with non-admin sandbox".to_string(), + name: "Use aKode with non-admin sandbox".to_string(), description: None, actions: vec![Box::new({ let otel = self.session_telemetry.clone(); diff --git a/codex-rs/tui/src/cli.rs b/codex-rs/tui/src/cli.rs index ca006e91..6815f093 100644 --- a/codex-rs/tui/src/cli.rs +++ b/codex-rs/tui/src/cli.rs @@ -17,7 +17,7 @@ pub struct Cli { #[arg(value_name = "PROMPT", value_hint = clap::ValueHint::Other)] pub prompt: Option, - /// Error out when config.toml contains fields that are not recognized by this version of Codex. + /// Error out when config.toml contains fields that are not recognized by this version of aKode. #[arg(long = "strict-config", default_value_t = false)] pub strict_config: bool, diff --git a/codex-rs/tui/src/custom_terminal.rs b/codex-rs/tui/src/custom_terminal.rs index d0dde7f3..222416e1 100644 --- a/codex-rs/tui/src/custom_terminal.rs +++ b/codex-rs/tui/src/custom_terminal.rs @@ -1190,7 +1190,7 @@ mod tests { Line::from(vec![ "›".bold(), " ".into(), - "Ask Codex to do anything".dim(), + "Ask aKode to do anything".dim(), ]), ]) .render(frame.area(), frame.buffer_mut()); @@ -1213,7 +1213,7 @@ mod tests { - › Ask Codex to do anything + › Ask aKode to do anything "); } diff --git a/codex-rs/tui/src/daemon_recovery.rs b/codex-rs/tui/src/daemon_recovery.rs index 5af3720a..11abe791 100644 --- a/codex-rs/tui/src/daemon_recovery.rs +++ b/codex-rs/tui/src/daemon_recovery.rs @@ -190,7 +190,7 @@ fn recovery_view( require_explicit_confirmation: true, is_disabled: !can_restart, disabled_reason: if !managed_daemon { - Some("This server is not managed by Codex.".to_string()) + Some("This server is not managed by aKode.".to_string()) } else if issue.restart_features.is_none() { Some("Restart cannot resolve this compatibility check.".to_string()) } else { diff --git a/codex-rs/tui/src/daemon_startup.rs b/codex-rs/tui/src/daemon_startup.rs index fa2ece82..26f71f24 100644 --- a/codex-rs/tui/src/daemon_startup.rs +++ b/codex-rs/tui/src/daemon_startup.rs @@ -50,7 +50,7 @@ pub fn uses_wsl_drvfs(codex_home: &std::path::Path) -> bool { } #[cfg(any(windows, test))] -pub(super) const ELEVATED_LAUNCH_WARNING: &str = "Running as administrator: shared background server disabled. To enable it, restart Codex in a terminal without administrator permissions."; +pub(super) const ELEVATED_LAUNCH_WARNING: &str = "Running as administrator: shared background server disabled. To enable it, restart aKode in a terminal without administrator permissions."; #[derive(Debug, thiserror::Error)] #[error("Cannot use the shared background server: {reason}.\n{FAILURE_HINT}")] diff --git a/codex-rs/tui/src/empty_state_animation.rs b/codex-rs/tui/src/empty_state_animation.rs index 535d6648..13836976 100644 --- a/codex-rs/tui/src/empty_state_animation.rs +++ b/codex-rs/tui/src/empty_state_animation.rs @@ -1,37 +1,17 @@ -//! The blossom welcome animation for onboarding, with a full-color final pose. -//! Visible time pauses while hidden. Fresh conversations start settled and can replay on a click. +//! The static aKode splash shown in the middle of a fresh, empty conversation. +//! (The module keeps its historical name until the internal rebrand.) +//! Eligibility is latched per thread; the caller decides when the composer allows it. -mod geometry; -mod lighting; -mod paths; mod policy; -mod renderer; -mod sequence; -use std::sync::OnceLock; -use std::time::Duration; -use std::time::Instant; - -use crossterm::event::MouseButton; -use crossterm::event::MouseEvent; -use crossterm::event::MouseEventKind; use ratatui::buffer::Buffer; -use ratatui::layout::Position; use ratatui::layout::Rect; -use ratatui::style::Color; +use ratatui::widgets::Widget; +use crate::branding; use crate::motion::MotionMode; -use crate::terminal_palette; -use lighting::Lighting; pub(crate) use policy::Presentation; pub(crate) use policy::is_startup_cell; -use renderer::MAX_COLUMNS; -use renderer::MAX_ROWS; -use renderer::Renderer; - -pub(crate) const FRAME_INTERVAL: Duration = Duration::from_millis(/*millis*/ 50); -// The preview's first visible pose (10.8s / 7.2s), also the start of an idle-screen replay. -const SETTLED_BLOSSOM: f64 = 0.5; #[derive(Clone, Copy, PartialEq, Eq)] pub(crate) enum ComposerState { @@ -42,15 +22,6 @@ pub(crate) enum ComposerState { #[derive(Default)] pub(crate) struct EmptyStateAnimation { eligible: bool, - spin_elapsed: Duration, - last_frame: Option, - fade_elapsed: Duration, - static_mark: Option, - opacity: f32, - fade_from: f32, - renderer: Option, - stage: Option, - replaying: bool, } impl EmptyStateAnimation { @@ -59,16 +30,10 @@ impl EmptyStateAnimation { } pub(crate) fn start_fresh(&mut self) { - self.cancel_replay(); self.eligible = true; - self.spin_elapsed = Duration::ZERO; - self.last_frame = None; - self.fade_elapsed = Duration::ZERO; - self.static_mark = None; - self.opacity = 1.0; } - /// Keep the provisional pose when handing off to the live thread. + /// Keep eligibility when handing off from the startup draft to the live thread. pub(crate) fn continue_from(&mut self, source: &mut Self) { let mut previous = std::mem::take(source); if !previous.is_eligible() { @@ -79,136 +44,33 @@ impl EmptyStateAnimation { pub(crate) fn dismiss(&mut self) { self.eligible = false; - self.cancel_replay(); } - pub(crate) fn cancel_replay(&mut self) { - self.stage = None; - self.replaying = false; - self.pause_clock(); - } - - /// Replay only on the drawn blossom; unrelated gestures keep their normal owner. - pub(crate) fn handle_mouse(&mut self, mouse: MouseEvent) -> bool { - let inside = self - .stage - .is_some_and(|stage| stage.contains(Position::new(mouse.column, mouse.row))) - && mouse.modifiers.is_empty(); - match mouse.kind { - MouseEventKind::Down(MouseButton::Left) if inside => { - self.start_fresh(); - self.spin_elapsed = - Duration::from_secs_f64(SETTLED_BLOSSOM * sequence::LOOP_SECONDS); - self.opacity = sequence::STATIC_OPACITY; - self.static_mark = Some(true); - self.replaying = true; - true - } - _ => false, - } - } - - /// Stop visible time at the last painted frame, including when no hidden frame was drawn. - /// Resume (after process suspension) may call this after the interruption; phase is retained. - pub(crate) fn pause_clock(&mut self) { - self.last_frame = None; - } - - /// Paint the shared logo sequence inside a caller-owned, reserved rectangle. - /// The caller clears the stage and keeps its layout stable after motion finishes. - pub(crate) fn render_in( - &mut self, - area: Rect, - buffer: &mut Buffer, - presentation: Presentation, - ) -> Option { - let now = Instant::now(); - self.render_in_at(area, buffer, presentation, now) - } - - fn render_in_at( - &mut self, - area: Rect, - buffer: &mut Buffer, - presentation: Presentation, - now: Instant, - ) -> Option { - if !self.eligible - || presentation == Presentation::Hidden - || area.is_empty() - || area.width > MAX_COLUMNS - || area.height > MAX_ROWS - || area.intersection(buffer.area) != area - { - self.pause_clock(); - return None; - } - let static_mark = presentation == Presentation::Faded; - let previous_frame = self.last_frame.replace(now); - if self.static_mark != Some(static_mark) { - self.fade_elapsed = if self.static_mark.is_none() { - sequence::STATIC_FADE - } else { - Duration::ZERO - }; - self.fade_from = self.opacity; - } else if let Some(previous) = previous_frame { - let elapsed = now.saturating_duration_since(previous); - self.fade_elapsed += elapsed; - if !static_mark { - self.spin_elapsed += elapsed; - } - } - self.static_mark = Some(static_mark); - let finished = self.spin_elapsed >= sequence::SPIN_DURATION; - let phase = - self.spin_elapsed.min(sequence::SPIN_DURATION).as_secs_f64() / sequence::LOOP_SECONDS; - let settling = !finished && static_mark && self.fade_elapsed < sequence::STATIC_FADE; - self.opacity = if finished && self.replaying { - sequence::static_opacity( - self.spin_elapsed - sequence::SPIN_DURATION, - /*from*/ 1.0, - ) - } else if finished { - 1.0 - } else if static_mark { - sequence::static_opacity(self.fade_elapsed, self.fade_from) - } else { - 1.0 - }; - if !static_mark && !finished { - self.opacity = self.fade_from - + (self.opacity - self.fade_from) - * sequence::progress(self.fade_elapsed, sequence::STATIC_FADE) as f32; - } - self.paint_frame(area, buffer, phase, self.opacity); - ((!finished && (!static_mark || settling)) - || (self.replaying - && self.spin_elapsed < sequence::SPIN_DURATION + sequence::STATIC_FADE)) - .then_some(FRAME_INTERVAL) - } - - /// Draw only in space the caller has cleared and owns. The centered blossom returns - /// on clear, without restarting or scheduling animation. + /// Draw only in space the caller has cleared and owns. The splash is centered on + /// `screen` and hidden, rather than shrunk or clipped, when it does not fit `available`. pub(crate) fn render_first_screen( - &mut self, + &self, screen: Rect, available: Rect, buffer: &mut Buffer, composer: Option, motion: MotionMode, - ) -> Option { - const STAGE_ROWS: u16 = 21; - const MIN_STAGE_ROWS: u16 = 14; - let width = screen.width.saturating_sub(/*rhs*/ 4).min(MAX_COLUMNS); - let height = width * STAGE_ROWS / MAX_COLUMNS; - if motion == MotionMode::Reduced - || composer != Some(ComposerState::Empty) - || height < MIN_STAGE_ROWS - || height > screen.height + ) { + if !self.eligible || motion == MotionMode::Reduced || composer != Some(ComposerState::Empty) { - self.cancel_replay(); - return None; + return; + } + // The session header already shows the ghost, so narrow screens get only the welcome line. + let lines = branding::splash_lines( + usize::from(screen.width.saturating_sub(/*rhs*/ 4)), + /*compact*/ false, + ); + let width = lines + .first() + .map_or(0, |line| u16::try_from(line.width()).unwrap_or(u16::MAX)); + let height = u16::try_from(lines.len()).unwrap_or(u16::MAX); + if width == 0 || width > screen.width || height > screen.height { + return; } let stage = Rect::new( screen.x + (screen.width - width) / 2, @@ -216,73 +78,12 @@ impl EmptyStateAnimation { width, height, ); - if stage.intersection(available) != stage { - self.cancel_replay(); - return None; + if stage.intersection(available) != stage || stage.intersection(buffer.area) != stage { + return; } - self.stage = Some(stage); - if self.replaying { - if let Some(delay) = self.render_in(stage, buffer, Presentation::Animated) { - return Some(delay); - } - // The replay has faded back to the idle pose and no longer needs redraws. - self.replaying = false; - } - self.paint_frame(stage, buffer, SETTLED_BLOSSOM, sequence::STATIC_OPACITY); - None - } - - fn paint_frame(&mut self, area: Rect, buffer: &mut Buffer, phase: f64, opacity: f32) { - let background = terminal_palette::default_bg(); - let color_level = if background.is_some() { - terminal_palette::effective_stdout_color_level() - } else { - terminal_palette::StdoutColorLevel::Unknown - }; - let background = background.unwrap_or((15, 20, 37)); - let light = Lighting::terminal( - terminal_palette::default_fg().unwrap_or((210, 221, 235)), - background, - ); - let cells = self.renderer.get_or_insert_with(Renderer::default).frame( - area.width, - area.height, - phase, - &light, - ); - for (i, cell) in cells.iter().enumerate().filter(|(_, cell)| cell.dots != 0) { - let [_, r, g, b] = cell.rgb.to_be_bytes(); - let target = &mut buffer[( - area.x + i as u16 % area.width, - area.y + i as u16 / area.width, - )]; - target.set_char(char::from_u32(0x2800 + u32::from(cell.dots)).unwrap_or(' ')); - let color = crate::color::blend((r, g, b), background, opacity); - let color = if color_level == terminal_palette::StdoutColorLevel::Ansi256 { - // Four bits per channel bound the cache and avoid palette searches each frame. - static COLORS: [OnceLock; 4096] = [const { OnceLock::new() }; 4096]; - let (r, g, b) = (color.0 >> 4, color.1 >> 4, color.2 >> 4); - let index = usize::from(r) * 256 + usize::from(g) * 16 + usize::from(b); - *COLORS[index].get_or_init(|| { - terminal_palette::best_color_for_level( - (r * 16 + 8, g * 16 + 8, b * 16 + 8), - color_level, - ) - }) - } else { - terminal_palette::best_color_for_level(color, color_level) - }; - target.set_fg(color); - // Default-color terminals can only step between normal and dim intensity. - if opacity < 0.5 - && matches!( - color_level, - terminal_palette::StdoutColorLevel::Ansi16 - | terminal_palette::StdoutColorLevel::Unknown - ) - { - target.set_style(target.style().dim()); - } + for (row, line) in lines.into_iter().enumerate() { + let row = u16::try_from(row).unwrap_or(u16::MAX); + line.render(Rect::new(stage.x, stage.y + row, width, 1), buffer); } } } diff --git a/codex-rs/tui/src/empty_state_animation/geometry.rs b/codex-rs/tui/src/empty_state_animation/geometry.rs deleted file mode 100644 index a4ecc805..00000000 --- a/codex-rs/tui/src/empty_state_animation/geometry.rs +++ /dev/null @@ -1,149 +0,0 @@ -//! Cached signed distance fields of the original vector marks, preserving their cutouts. - -use std::sync::LazyLock; - -use super::paths; - -pub(super) const GRID: usize = 160; -pub(super) const EXTENT: f64 = 1.08; -pub(super) const STEP: f64 = EXTENT * 2.0 / (GRID - 1) as f64; -pub(super) static FIELDS: LazyLock<[Vec; 2]> = - LazyLock::new(|| [field(paths::CODEX), field(paths::OPENAI)]); - -struct Path<'a> { - remaining: &'a str, -} - -impl Path<'_> { - #[expect( - clippy::expect_used, - reason = "coordinates come only from the embedded, reference-tested SVG paths" - )] - fn number(&mut self) -> f64 { - self.remaining = self.remaining.trim_start(); - let end = self.remaining[1..] - .find(|c: char| !c.is_ascii_digit() && c != '.') - .map_or(self.remaining.len(), |i| i + 1); - let (number, remaining) = self.remaining.split_at(end); - self.remaining = remaining; - number.parse().expect("embedded logo coordinate") - } - - fn point(&mut self) -> [f64; 2] { - [self.number(), self.number()] - } -} - -fn field((path, bounds): (&str, [f64; 4])) -> Vec { - let mut path = Path { remaining: path }; - let mut point = [0.0; 2]; - let mut start = point; - let mut segments = Vec::new(); - while let Some(command) = path.remaining.chars().next() { - path.remaining = &path.remaining[1..]; - let next = match command { - 'M' => { - point = path.point(); - start = point; - continue; - } - 'L' => path.point(), - 'H' => [path.number(), point[1]], - 'V' => [point[0], path.number()], - 'Z' => start, - 'C' => { - let origin = point; - let a = path.point(); - let b = path.point(); - let end = path.point(); - for step in 1..=12 { - let t = f64::from(step) / 12.0; - let u = 1.0 - t; - let next = std::array::from_fn(|i| { - u.powi(/*n*/ 3) * origin[i] - + 3.0 * u * u * t * a[i] - + 3.0 * u * t * t * b[i] - + t.powi(/*n*/ 3) * end[i] - }); - segments.push((point, next)); - point = next; - } - continue; - } - _ => unreachable!("embedded paths contain only M/L/H/V/C/Z"), - }; - segments.push((point, next)); - point = next; - } - let scale = (bounds[2] - bounds[0]).max(bounds[3] - bounds[1]) / 2.0; - for (a, b) in &mut segments { - for axis in 0..2 { - let center = (bounds[axis] + bounds[axis + 2]) / 2.0; - a[axis] = (a[axis] - center) / scale; - b[axis] = (b[axis] - center) / scale; - } - } - let mut inside = vec![false; GRID * GRID]; - for row in 0..GRID { - let y = row as f64 * STEP - EXTENT; - let mut crossings = segments - .iter() - .filter(|&(a, b)| (a[1] <= y && b[1] > y) || (b[1] <= y && a[1] > y)) - .map(|(a, b)| { - ( - a[0] + (y - a[1]) / (b[1] - a[1]) * (b[0] - a[0]), - if b[1] > a[1] { 1 } else { -1 }, - ) - }) - .collect::>(); - crossings.sort_by(|a, b| a.0.total_cmp(&b.0)); - let (mut cursor, mut winding) = (0, 0); - for column in 0..GRID { - let x = column as f64 * STEP - EXTENT; - while cursor < crossings.len() && crossings[cursor].0 <= x { - winding += crossings[cursor].1; - cursor += 1; - } - inside[row * GRID + column] = winding != 0; - } - } - let mut distance = vec![GRID as f32; GRID * GRID]; - for row in 1..GRID - 1 { - for column in 1..GRID - 1 { - let i = row * GRID + column; - if [i - 1, i + 1, i - GRID, i + GRID] - .into_iter() - .any(|j| inside[i] != inside[j]) - { - distance[i] = 0.5; - } - } - } - for reverse in [false, true] { - for row in 1..GRID - 1 { - for column in 1..GRID - 1 { - let i = if reverse { - (GRID - 1 - row) * GRID + GRID - 1 - column - } else { - row * GRID + column - }; - let neighbors = if reverse { - [i + 1, i + GRID, i + GRID - 1, i + GRID + 1] - } else { - [i - 1, i - GRID, i - GRID - 1, i - GRID + 1] - }; - let value = neighbors - .into_iter() - .zip([1.0, 1.0, std::f64::consts::SQRT_2, std::f64::consts::SQRT_2]) - .fold(f64::from(distance[i]), |d, (j, step)| { - d.min(f64::from(distance[j]) + step) - }); - distance[i] = value as f32; - } - } - } - for (i, distance) in distance.iter_mut().enumerate() { - *distance = (f64::from(*distance) * STEP * if inside[i] { 1.0 } else { -1.0 }) as f32; - } - distance -} diff --git a/codex-rs/tui/src/empty_state_animation/lighting.rs b/codex-rs/tui/src/empty_state_animation/lighting.rs deleted file mode 100644 index 1e80115d..00000000 --- a/codex-rs/tui/src/empty_state_animation/lighting.rs +++ /dev/null @@ -1,64 +0,0 @@ -//! Fixed studio lighting, adapted to the terminal's foreground and background. - -use crate::color::is_light; - -pub(super) struct Lighting { - pub(super) background: [f64; 3], - pub(super) key: [f64; 3], - pub(super) shadow: [f64; 3], - pub(super) fill: [f64; 3], - pub(super) rim: [f64; 3], - pub(super) highlight: [f64; 3], -} - -impl Lighting { - pub(super) fn terminal(fg: (u8, u8, u8), bg: (u8, u8, u8)) -> Self { - let background = [bg.0.into(), bg.1.into(), bg.2.into()]; - if is_light(bg) { - let key = [fg.0.into(), fg.1.into(), fg.2.into()]; - Self { - background, - key, - shadow: std::array::from_fn(|i| background[i] * 0.65 + key[i] * 0.35), - fill: key, - rim: key, - highlight: key, - } - } else { - Self { - background, - key: [210.0, 221.0, 235.0], - shadow: [52.0, 71.0, 105.0], - fill: [76.0, 118.0, 159.0], - rim: [91.0, 196.0, 216.0], - highlight: [255.0, 244.0, 218.0], - } - } - } - - pub(super) fn shade(&self, [nx, ny, nz]: [f64; 3], depth: f64, grain: f64) -> u32 { - let diffuse = (nx * -0.410 + ny * -0.564 + nz * 0.718 + grain) - .clamp(/*min*/ 0.0, /*max*/ 1.0); - let bounce = (nx * 0.55 + ny * 0.2 - nz * 0.35).clamp(/*min*/ 0.0, /*max*/ 1.0) - * (1.0 - diffuse) - * 0.38; - let edge = (1.0 - nz.clamp(/*min*/ -1.0, /*max*/ 1.0).abs()).powf(/*n*/ 2.4) - * (nx * 0.85 - ny * 0.38).clamp(/*min*/ 0.0, /*max*/ 1.0) - * 0.82; - let gloss = (nx * -0.220 + ny * -0.302 + nz * 0.928) - .clamp(/*min*/ 0.0, /*max*/ 1.0) - .powi(/*n*/ 18) - * 0.96; - let base = (1.0 - bounce) * (1.0 - edge) * (1.0 - gloss); - let gain = (0.90 + depth * 0.18).clamp(/*min*/ 0.68, /*max*/ 1.0); - let rgb: [u8; 3] = std::array::from_fn(|i| { - let value = self.shadow[i] * (1.0 - diffuse) * base - + self.key[i] * diffuse * base - + self.fill[i] * bounce * (1.0 - edge) * (1.0 - gloss) - + self.rim[i] * edge * (1.0 - gloss) - + self.highlight[i] * gloss; - (self.background[i] + (value - self.background[i]) * gain).round() as u8 - }); - u32::from_be_bytes([0, rgb[0], rgb[1], rgb[2]]) - } -} diff --git a/codex-rs/tui/src/empty_state_animation/paths.rs b/codex-rs/tui/src/empty_state_animation/paths.rs deleted file mode 100644 index 90466831..00000000 --- a/codex-rs/tui/src/empty_state_animation/paths.rs +++ /dev/null @@ -1,10 +0,0 @@ -//! OpenAI and Codex mark geometry for the logo morph. - -pub(super) const CODEX: (&str, [f64; 4]) = ( - "M16.585 10C16.585 6.3632 13.6368 3.41504 10 3.41504C6.3632 3.41504 3.41504 6.3632 3.41504 10C3.41504 13.6368 6.3632 16.585 10 16.585C13.6368 16.585 16.585 13.6368 16.585 10ZM13.333 11.418L13.4678 11.4316C13.7705 11.4938 13.9979 11.7619 13.998 12.083C13.998 12.4042 13.7706 12.6722 13.4678 12.7344L13.333 12.748H10.833C10.4659 12.7479 10.168 12.4502 10.168 12.083C10.1681 11.716 10.466 11.4181 10.833 11.418H13.333ZM7.65332 12.4258C7.46427 12.7404 7.05603 12.8422 6.74121 12.6533C6.42642 12.4644 6.32391 12.0561 6.5127 11.7412L7.65332 12.4258ZM8.90332 9.6582C9.02956 9.86872 9.02956 10.1313 8.90332 10.3418L7.65332 12.4258L7.08301 12.083L6.5127 11.7412L7.55664 10L6.5127 8.25879L7.08301 7.91699L7.65332 7.57422L8.90332 9.6582ZM6.74121 7.34668C7.05603 7.15779 7.46427 7.25955 7.65332 7.57422L6.5127 8.25879C6.32391 7.94392 6.42642 7.53563 6.74121 7.34668ZM17.915 10C17.915 14.3713 14.3713 17.915 10 17.915C5.62867 17.915 2.08496 14.3713 2.08496 10C2.08496 5.62867 5.62867 2.08496 10 2.08496C14.3713 2.08496 17.915 5.62867 17.915 10Z", - [2.08496, 2.08496, 17.915, 17.915], -); -pub(super) const OPENAI: (&str, [f64; 4]) = ( - "M11.6475 18.3409C11.0975 18.3409 10.575 18.2364 10.08 18.0274C9.58502 17.8184 9.14502 17.5269 8.76002 17.1529C8.34202 17.2959 7.90751 17.3674 7.45651 17.3674C6.71951 17.3674 6.03751 17.1859 5.41051 16.8229C4.78351 16.4599 4.27751 15.9649 3.89251 15.3379C3.51851 14.7109 3.33151 14.0124 3.33151 13.2424C3.33151 12.9234 3.37551 12.5769 3.46351 12.2029C3.02351 11.7959 2.68251 11.3284 2.44051 10.8004C2.19851 10.2614 2.07751 9.70044 2.07751 9.11744C2.07751 8.52344 2.20401 7.95144 2.45701 7.40144C2.71001 6.85144 3.06201 6.37844 3.51301 5.98244C3.97501 5.57544 4.50851 5.29494 5.11351 5.14094C5.23451 4.51394 5.48751 3.95294 5.87251 3.45794C6.26851 2.95194 6.75252 2.55594 7.32452 2.26994C7.89652 1.98394 8.50702 1.84094 9.15602 1.84094C9.70602 1.84094 10.2285 1.94544 10.7235 2.15444C11.2185 2.36344 11.6585 2.65494 12.0435 3.02894C12.4615 2.88594 12.896 2.81444 13.347 2.81444C14.084 2.81444 14.766 2.99594 15.393 3.35894C16.02 3.72194 16.5205 4.21694 16.8945 4.84394C17.2795 5.47094 17.472 6.16944 17.472 6.93944C17.472 7.25844 17.428 7.60494 17.34 7.97894C17.78 8.38594 18.121 8.85894 18.363 9.39794C18.605 9.92594 18.726 10.4814 18.726 11.0644C18.726 11.6584 18.5995 12.2304 18.3465 12.7804C18.0935 13.3304 17.736 13.8089 17.274 14.2159C16.823 14.6119 16.295 14.8869 15.69 15.0409C15.569 15.6679 15.3105 16.2289 14.9145 16.7239C14.5295 17.2299 14.051 17.6259 13.479 17.9119C12.907 18.1979 12.2965 18.3409 11.6475 18.3409ZM7.57201 16.2784C8.12201 16.2784 8.60051 16.1629 9.00751 15.9319L12.1095 14.1499C12.2195 14.0729 12.2745 13.9684 12.2745 13.8364V12.4174L8.28152 14.7109C8.03952 14.8539 7.79751 14.8539 7.55552 14.7109L4.43701 12.9124C4.43701 12.9454 4.43151 12.9839 4.42051 13.0279C4.42051 13.0719 4.42051 13.1379 4.42051 13.2259C4.42051 13.7869 4.55252 14.3039 4.81651 14.7769C5.09152 15.2389 5.47101 15.6019 5.95501 15.8659C6.43901 16.1409 6.97801 16.2784 7.57201 16.2784ZM7.73701 13.5889C7.80301 13.6219 7.86351 13.6384 7.91851 13.6384C7.97351 13.6384 8.02852 13.6219 8.08352 13.5889L9.32101 12.8794L5.34451 10.5694C5.10251 10.4264 4.98151 10.2119 4.98151 9.92594V6.34544C4.43151 6.58744 3.99151 6.96144 3.66151 7.46744C3.33151 7.96244 3.16651 8.51244 3.16651 9.11744C3.16651 9.65644 3.30401 10.1734 3.57901 10.6684C3.85401 11.1634 4.21151 11.5374 4.65151 11.7904L7.73701 13.5889ZM11.6475 17.2519C12.2305 17.2519 12.7585 17.1199 13.2315 16.8559C13.7045 16.5919 14.0785 16.2289 14.3535 15.7669C14.6285 15.3049 14.766 14.7879 14.766 14.2159V10.6519C14.766 10.5199 14.711 10.4209 14.601 10.3549L13.347 9.62894V14.2324C13.347 14.5184 13.226 14.7329 12.984 14.8759L9.86551 16.6744C10.4045 17.0594 10.9985 17.2519 11.6475 17.2519ZM12.2745 11.2129V8.96894L10.41 7.91294L8.52902 8.96894V11.2129L10.41 12.2689L12.2745 11.2129ZM7.45651 5.94944C7.45651 5.66344 7.57752 5.44894 7.81952 5.30594L10.938 3.50744C10.399 3.12244 9.80502 2.92994 9.15602 2.92994C8.57302 2.92994 8.04501 3.06194 7.57201 3.32594C7.09902 3.58994 6.72502 3.95294 6.45002 4.41494C6.18602 4.87694 6.05401 5.39394 6.05401 5.96594V9.51344C6.05401 9.64544 6.10901 9.74994 6.21902 9.82694L7.45651 10.5529V5.94944ZM15.8385 13.8364C16.3885 13.5944 16.823 13.2204 17.142 12.7144C17.472 12.2084 17.637 11.6584 17.637 11.0644C17.637 10.5254 17.4995 10.0084 17.2245 9.51344C16.9495 9.01844 16.592 8.64444 16.152 8.39144L13.0665 6.60944C13.0005 6.56544 12.94 6.54894 12.885 6.55994C12.83 6.55994 12.775 6.57644 12.72 6.60944L11.4825 7.30244L15.4755 9.62894C15.5965 9.69494 15.6845 9.78294 15.7395 9.89294C15.8055 9.99194 15.8385 10.1129 15.8385 10.2559V13.8364ZM12.522 5.45444C12.764 5.30044 13.006 5.30044 13.248 5.45444L16.383 7.28594C16.383 7.20894 16.383 7.10994 16.383 6.98894C16.383 6.46094 16.251 5.96044 15.987 5.48744C15.734 5.00344 15.3655 4.61844 14.8815 4.33244C14.4085 4.04644 13.8585 3.90344 13.2315 3.90344C12.6815 3.90344 12.203 4.01894 11.796 4.24994L8.69402 6.03194C8.58402 6.10894 8.52902 6.21344 8.52902 6.34544V7.76444L12.522 5.45444Z", - [2.07751, 1.84094, 18.726, 18.3409], -); diff --git a/codex-rs/tui/src/empty_state_animation/renderer.rs b/codex-rs/tui/src/empty_state_animation/renderer.rs deleted file mode 100644 index 23948779..00000000 --- a/codex-rs/tui/src/empty_state_animation/renderer.rs +++ /dev/null @@ -1,183 +0,0 @@ -//! Deterministic surface projection and Braille rasterization of the Codex logo morph. -//! -//! Fields and depth use Float32 sampling; all other math uses Float64. - -use std::f64::consts::TAU; - -use super::geometry::EXTENT; -use super::geometry::FIELDS; -use super::geometry::GRID; -use super::geometry::STEP; -use super::lighting::Lighting; - -pub(super) const MAX_COLUMNS: u16 = 60; -pub(super) const MAX_ROWS: u16 = 24; -const DOT_BITS: [u8; 8] = [1, 8, 2, 16, 4, 32, 64, 128]; -// First three mulberry32 samples with the reference's seed 3371. -const HALF_DEPTH: f64 = 0.1642880353482906; -const WOBBLE: f64 = 0.11242630996974184; -const GRAIN_PHASE: f64 = 3.8990964158506114; - -fn smooth(value: f64) -> f64 { - let t = value.clamp(/*min*/ 0.0, /*max*/ 1.0); - t * t * t * (t * (t * 6.0 - 15.0) + 10.0) -} - -#[derive(Clone, Copy, Debug, Default, PartialEq)] -pub(super) struct Cell { - pub(super) dots: u8, - pub(super) rgb: u32, -} - -pub(super) struct Renderer { - shape: Vec, - depth: Vec, - colors: Vec, - cells: Vec, -} - -impl Default for Renderer { - fn default() -> Self { - let samples = usize::from(MAX_COLUMNS) * usize::from(MAX_ROWS) * 8; - Self { - shape: vec![0.0; GRID * GRID], - depth: vec![f32::NEG_INFINITY; samples], - colors: vec![0; samples], - cells: vec![Cell::default(); samples / 8], - } - } -} - -impl Renderer { - pub(super) fn frame( - &mut self, - columns: u16, - rows: u16, - phase: f64, - light: &Lighting, - ) -> &[Cell] { - assert!(columns <= MAX_COLUMNS && rows <= MAX_ROWS); - let columns = usize::from(columns); - let rows = usize::from(rows); - let phase = phase.rem_euclid(/*rhs*/ 1.0); - let second = if phase >= 0.5 { 1.0 } else { 0.0 }; - let spin = smooth((phase * 2.0 - second) / 0.82); - let morph = smooth((spin - 2.0 / 3.0) * 3.0); - let rotation = (second + spin) * TAU; - let blend = if second == 1.0 { 1.0 - morph } else { morph }; - let (sx, cx) = (rotation.sin() * WOBBLE).sin_cos(); - let (sy, cy) = rotation.sin_cos(); - let (sz, cz) = ((phase * TAU).sin() * 0.045).sin_cos(); - let bevel = 0.075 + blend * 0.012; - let dot_columns = columns * 2; - let dot_rows = rows * 4; - let dot_width = 800.0 / dot_columns as f64; - let dot_height = 550.0 / dot_rows as f64; - self.depth.fill(f32::NEG_INFINITY); - for (i, value) in self.shape.iter_mut().enumerate() { - *value = - (f64::from(FIELDS[0][i]) * (1.0 - blend) + f64::from(FIELDS[1][i]) * blend) as f32; - } - let mut project = |[x, y, mut z]: [f64; 3], [mut nx, mut ny, mut nz]: [f64; 3]| { - let u = x * 2.2 + y * 0.7; - let v = y * 2.8 - x * 0.4; - z += u.sin() * 0.075 + v.sin() * 0.04; - nx -= nz * (u.cos() * 0.165 - v.cos() * 0.016); - ny -= nz * (u.cos() * 0.0525 + v.cos() * 0.112); - let length = nx.hypot(ny).hypot(nz); - let length = if length == 0.0 { 1.0 } else { length }; - nx /= length; - ny /= length; - nz /= length; - let x1 = x * cy + z * sy; - let z1 = -x * sy + z * cy; - let y2 = y * cx - z1 * sx; - let z2 = y * sx + z1 * cx; - let x3 = x1 * cz - y2 * sz; - let y3 = x1 * sz + y2 * cz; - let perspective = 4.4 / (4.4 - z2); - let column = ((400.0 + x3 * 206.0 * perspective) / dot_width).floor() as isize; - let row = ((275.0 + y3 * 206.0 * perspective) / dot_height).floor() as isize; - if column < 0 || column >= dot_columns as isize || row < 0 || row >= dot_rows as isize { - return; - } - let i = row as usize * dot_columns + column as usize; - if z2 <= f64::from(self.depth[i]) { - return; - } - let nx1 = nx * cy + nz * sy; - let nz1 = -nx * sy + nz * cy; - let ny2 = ny * cx - nz1 * sx; - let nz2 = ny * sx + nz1 * cx; - self.depth[i] = z2 as f32; - self.colors[i] = light.shade( - [nx1 * cz - ny2 * sz, nx1 * sz + ny2 * cz, nz2], - z2, - (x * 23.0 + y * 19.0 + GRAIN_PHASE).sin() * 0.01, - ); - }; - for row in 1..GRID - 1 { - for column in 1..GRID - 1 { - let i = row * GRID + column; - let d = f64::from(self.shape[i]); - if d < -STEP { - continue; - } - let x = column as f64 * STEP - EXTENT; - let y = row as f64 * STEP - EXTENT; - let dx = f64::from(self.shape[i + 1]) - f64::from(self.shape[i - 1]); - let dy = f64::from(self.shape[i + GRID]) - f64::from(self.shape[i - GRID]); - let length = dx.hypot(dy); - let length = if length == 0.0 { 1.0 } else { length }; - let gx = dx / length; - let gy = dy / length; - if d > 0.0 { - let edge = (1.0 - d / bevel).clamp(/*min*/ 0.0, /*max*/ 1.0); - let nz = (1.0 - edge * edge).sqrt(); - let z = HALF_DEPTH - bevel + bevel * nz; - project([x, y, z], [-gx * edge, -gy * edge, nz]); - project([x, y, -z], [-gx * edge, -gy * edge, -nz]); - } - if d.abs() < STEP * 0.8 { - let side_depth = HALF_DEPTH - bevel; - let layers = (side_depth * 2.0 / STEP).ceil() as usize; - for layer in 0..=layers { - project( - [ - x - gx * d, - y - gy * d, - -side_depth + layer as f64 / layers as f64 * side_depth * 2.0, - ], - [-gx, -gy, 0.0], - ); - } - } - } - } - self.cells.fill(Cell::default()); - for row in 0..rows { - for column in 0..columns { - let (mut dots, mut count, mut rgb) = (0, 0, [0; 3]); - for (point, bit) in DOT_BITS.into_iter().enumerate() { - let i = (row * 4 + point / 2) * dot_columns + column * 2 + point % 2; - if self.depth[i].is_finite() { - dots |= bit; - let channels = self.colors[i].to_be_bytes(); - for channel in 0..3 { - rgb[channel] += u32::from(channels[channel + 1]); - } - count += 1; - } - } - let rgb = if count == 0 { - 0 - } else { - let channels = rgb.map(|value| ((value + count / 2) / count) as u8); - u32::from_be_bytes([0, channels[0], channels[1], channels[2]]) - }; - self.cells[row * columns + column] = Cell { dots, rgb }; - } - } - &self.cells[..rows * columns] - } -} diff --git a/codex-rs/tui/src/empty_state_animation/sequence.rs b/codex-rs/tui/src/empty_state_animation/sequence.rs deleted file mode 100644 index 09555688..00000000 --- a/codex-rs/tui/src/empty_state_animation/sequence.rs +++ /dev/null @@ -1,18 +0,0 @@ -//! Timing and easing for smooth rotation and focus fades. - -use std::time::Duration; - -pub(super) const STATIC_FADE: Duration = Duration::from_millis(/*millis*/ 400); -pub(super) const STATIC_OPACITY: f32 = 0.18; -// The renderer performs two complete rotations per loop. -pub(super) const LOOP_SECONDS: f64 = 7.2; -pub(super) const SPIN_DURATION: Duration = Duration::from_millis(/*millis*/ 10_800); - -pub(super) fn static_opacity(elapsed: Duration, from: f32) -> f32 { - STATIC_OPACITY + (from - STATIC_OPACITY) * (1.0 - progress(elapsed, STATIC_FADE)) as f32 -} - -pub(super) fn progress(elapsed: Duration, duration: Duration) -> f64 { - let t = (elapsed.as_secs_f64() / duration.as_secs_f64()).min(/*other*/ 1.0); - t * t * t * (t * (t * 6.0 - 15.0) + 10.0) -} diff --git a/codex-rs/tui/src/empty_state_animation_tests.rs b/codex-rs/tui/src/empty_state_animation_tests.rs index 90936981..cf1db0fc 100644 --- a/codex-rs/tui/src/empty_state_animation_tests.rs +++ b/codex-rs/tui/src/empty_state_animation_tests.rs @@ -1,469 +1,131 @@ -//! Logo visibility, theme contrast, placement, and redraw lifecycle tests. +//! Splash placement, eligibility, and narrow-terminal fallback tests. use super::*; -use crossterm::event::KeyModifiers; -use pretty_assertions::assert_eq; + +fn draw( + splash: &EmptyStateAnimation, + screen: Rect, + available: Rect, + composer: Option, + motion: MotionMode, +) -> Buffer { + let mut buffer = Buffer::empty(screen); + splash.render_first_screen(screen, available, &mut buffer, composer, motion); + buffer +} + +fn rows(buffer: &Buffer) -> Vec { + buffer + .content + .chunks(usize::from(buffer.area.width)) + .map(|row| { + row.iter() + .map(ratatui::buffer::Cell::symbol) + .collect::() + .trim_end() + .to_owned() + }) + .collect() +} + +fn is_blank(buffer: &Buffer) -> bool { + buffer.content.iter().all(|cell| cell.symbol() == " ") +} #[test] -fn first_screen_stage_ignores_notices_and_hides_instead_of_shrinking() { - let mut animation = EmptyStateAnimation::default(); - animation.start_fresh(); +fn first_screen_splash_is_centered_and_hides_instead_of_shrinking() { + let mut splash = EmptyStateAnimation::default(); + splash.start_fresh(); let screen = Rect::new( /*x*/ 7, /*y*/ 3, /*width*/ 80, /*height*/ 44, ); - let mut buffer = Buffer::empty(screen); for header_rows in [5, 7, 11] { - buffer.reset(); let free = Rect::new( screen.x, screen.y + header_rows, screen.width, screen.height - header_rows - 3, ); - assert_eq!( - animation.render_first_screen( - screen, - free, - &mut buffer, - Some(ComposerState::Empty), - MotionMode::Animated - ), - None - ); - assert_eq!( - animation.stage, - Some(Rect::new( - /*x*/ 17, /*y*/ 14, /*width*/ 60, /*height*/ 21 - )) - ); - } - // Content which reaches the center must win; it must not move the stage down. - let free = Rect::new(screen.x, /*y*/ 20, screen.width, /*height*/ 24); - animation.render_first_screen( - screen, - free, - &mut buffer, - Some(ComposerState::Empty), - MotionMode::Animated, - ); - assert_eq!(animation.stage, None); - // Both sides of the minimum size, and a terminal that is too short for the full logo. - for (width, height, expected) in [(44, 36, true), (43, 36, false), (80, 20, false)] { - let screen = Rect::new(/*x*/ 7, /*y*/ 3, width, height); - let mut buffer = Buffer::empty(screen); - animation.render_first_screen( + let buffer = draw( + &splash, screen, - screen, - &mut buffer, + free, Some(ComposerState::Empty), MotionMode::Animated, ); - assert_eq!(animation.stage.is_some(), expected); + let rows = rows(&buffer); + // Eight rows (banner, spacer, welcome line) centered in 44 rows start at row 18. + assert!(rows[18].contains("█████╗"), "{rows:#?}"); + assert!(rows[25].contains("Benvenuto in aKode"), "{rows:#?}"); } -} - -#[test] -fn first_screen_single_click_replays_the_visible_blossom() { - let mut animation = EmptyStateAnimation::default(); - animation.start_fresh(); - let screen = Rect::new( - /*x*/ 0, /*y*/ 0, /*width*/ 80, /*height*/ 44, - ); - let mut buffer = Buffer::empty(screen); - let click = MouseEvent { - kind: MouseEventKind::Down(MouseButton::Left), - column: 40, - row: 22, - modifiers: KeyModifiers::NONE, - }; - let draw = |animation: &mut EmptyStateAnimation, buffer: &mut Buffer, composer| { - buffer.reset(); - animation.render_first_screen(screen, screen, buffer, composer, MotionMode::Animated) - }; - assert_eq!( - draw(&mut animation, &mut buffer, Some(ComposerState::Empty)), - None - ); - let static_frame = buffer.clone(); - for other in [ - MouseEvent { - column: 0, - row: 0, - ..click - }, - MouseEvent { - modifiers: KeyModifiers::CONTROL, - ..click - }, - MouseEvent { - kind: MouseEventKind::Down(MouseButton::Right), - ..click - }, - ] { - assert!(!animation.handle_mouse(other)); - } - assert_eq!( - draw(&mut animation, &mut buffer, Some(ComposerState::Empty)), - None - ); - assert_eq!(buffer, static_frame); - assert!(animation.handle_mouse(click)); - // Release belongs to the transcript if it started a selection outside the logo. - assert!(!animation.handle_mouse(MouseEvent { - kind: MouseEventKind::Up(MouseButton::Left), - ..click - })); - assert_eq!( - draw(&mut animation, &mut buffer, Some(ComposerState::Empty)), - Some(FRAME_INTERVAL) - ); - assert_eq!(buffer, static_frame); - let started = animation.last_frame.unwrap(); - let stage = animation.stage.unwrap(); - buffer.reset(); - assert_eq!( - animation.render_in_at( - stage, - &mut buffer, - Presentation::Animated, - started + sequence::STATIC_FADE, - ), - Some(FRAME_INTERVAL) - ); - assert_ne!(buffer, static_frame); - assert!(animation.handle_mouse(click)); - assert_eq!( - draw(&mut animation, &mut buffer, Some(ComposerState::Empty)), - Some(FRAME_INTERVAL) - ); - assert_eq!(buffer, static_frame); - let finished_at = - animation.last_frame.unwrap() + sequence::SPIN_DURATION - animation.spin_elapsed; - let mut fade_frames = Vec::new(); - for elapsed in [ - Duration::ZERO, - sequence::STATIC_FADE / 2, - sequence::STATIC_FADE, - ] { - buffer.reset(); - crate::terminal_palette::with_test_default_colors( - crate::terminal_probe::DefaultColors { - fg: (210, 221, 235), - bg: (15, 20, 37), - }, - || { - assert_eq!( - animation.render_in_at( - stage, - &mut buffer, - Presentation::Animated, - finished_at + elapsed, - ), - (elapsed < sequence::STATIC_FADE).then_some(FRAME_INTERVAL) - ); - }, - ); - let painted = buffer - .content - .iter() - .find(|cell| cell.symbol() != " ") - .unwrap(); - fade_frames.push(format!( - "{}ms: {} {:?}", - elapsed.as_millis(), - painted.symbol(), - painted.fg, - )); - } - insta::assert_snapshot!("first_screen_replay_fade", fade_frames.join("\n")); - assert_eq!( - draw(&mut animation, &mut buffer, Some(ComposerState::Empty)), - None - ); - assert_eq!(buffer, static_frame); - assert!(!animation.replaying); - assert!(animation.handle_mouse(click)); - assert_eq!( - draw(&mut animation, &mut buffer, Some(ComposerState::Draft)), - None - ); - assert!(!animation.handle_mouse(click)); - assert_eq!( - draw(&mut animation, &mut buffer, Some(ComposerState::Empty)), - None - ); - assert_eq!(buffer, static_frame); - // Disabling motion removes both the logo and its click target. - buffer.reset(); - animation.render_first_screen( + // Content which reaches the center must win; the splash must not move down. + let free = Rect::new(screen.x, /*y*/ 25, screen.width, /*height*/ 22); + assert!(is_blank(&draw( + &splash, screen, - screen, - &mut buffer, + free, Some(ComposerState::Empty), - MotionMode::Reduced, - ); - assert_eq!(buffer, Buffer::empty(screen)); - assert!(!animation.handle_mouse(click)); + MotionMode::Animated, + ))); } #[test] -fn loop_closes_and_light_themes_preserve_coverage() { - let mut renderer = Renderer::default(); - let dark = Lighting::terminal(/*fg*/ (210, 221, 235), /*bg*/ (15, 20, 37)); - let first = renderer - .frame( - /*columns*/ 60, /*rows*/ 21, /*phase*/ 0.0, &dark, - ) - .to_vec(); - assert_eq!( - renderer.frame( - /*columns*/ 60, /*rows*/ 21, /*phase*/ 1.0, &dark - ), - first +fn splash_requires_eligibility_empty_composer_and_motion() { + let screen = Rect::new( + /*x*/ 0, /*y*/ 0, /*width*/ 80, /*height*/ 24, ); - let other_mark = renderer.frame( - /*columns*/ 60, /*rows*/ 21, /*phase*/ 0.5, &dark, - ); - assert!(first.iter().any(|cell| cell.dots != 0)); - assert!(other_mark.iter().any(|cell| cell.dots != 0)); - assert_ne!(other_mark, first); - let light = Lighting::terminal(/*fg*/ (32, 32, 32), /*bg*/ (250, 250, 250)); - let light_frame = renderer.frame( - /*columns*/ 60, /*rows*/ 21, /*phase*/ 0.0, &light, - ); - assert_eq!( - light_frame.iter().map(|cell| cell.dots).collect::>(), - first.iter().map(|cell| cell.dots).collect::>() - ); - for cell in light_frame.iter().filter(|cell| cell.dots != 0) { - let [_, r, g, b] = cell.rgb.to_be_bytes(); - assert!( - r < 200 && g < 200 && b < 200, - "light-theme ink must contrast with the background" - ); - } -} - -#[test] -fn faded_presentation_settles_without_redraws_then_resumes() { - let area = Rect::new( - /*x*/ 0, /*y*/ 0, /*width*/ 48, /*height*/ 17, - ); - let start = Instant::now(); - for elapsed in [ - Duration::from_secs(/*secs*/ 2), - sequence::SPIN_DURATION - FRAME_INTERVAL * 2, + let mut splash = EmptyStateAnimation::default(); + assert!(is_blank(&draw( + &splash, + screen, + screen, + Some(ComposerState::Empty), + MotionMode::Animated, + ))); + splash.start_fresh(); + assert!(!is_blank(&draw( + &splash, + screen, + screen, + Some(ComposerState::Empty), + MotionMode::Animated, + ))); + for (composer, motion) in [ + (Some(ComposerState::Draft), MotionMode::Animated), + (None, MotionMode::Animated), + (Some(ComposerState::Empty), MotionMode::Reduced), ] { - let mut animation = EmptyStateAnimation::default(); - animation.start_fresh(); - animation.spin_elapsed = elapsed; - let mut buffer = Buffer::empty(area); - animation.render_in_at(area, &mut buffer, Presentation::Animated, start); - let moving = buffer.clone(); - buffer.reset(); - assert_eq!( - animation.render_in_at( - area, - &mut buffer, - Presentation::Faded, - start + FRAME_INTERVAL, - ), - Some(FRAME_INTERVAL) - ); - assert_eq!(buffer, moving); - let settled_at = start + FRAME_INTERVAL + sequence::STATIC_FADE; - buffer.reset(); - assert_eq!( - animation.render_in_at(area, &mut buffer, Presentation::Faded, settled_at,), - None - ); - assert!(buffer.content.iter().any(|cell| cell.symbol() != " ")); - // Missing OSC colors must preserve the terminal's readable default foreground. - if terminal_palette::default_bg().is_none() { - assert!( - buffer - .content - .iter() - .filter(|cell| cell.symbol() != " ") - .all(|cell| cell.fg == ratatui::style::Color::Reset) - ); - } - let settled = buffer.clone(); - buffer.reset(); - assert_eq!( - animation.render_in_at( - area, - &mut buffer, - Presentation::Faded, - settled_at + Duration::from_secs(/*secs*/ 60), - ), - None - ); - assert_eq!(buffer, settled); - buffer.reset(); - assert_eq!( - animation.render_in_at( - area, - &mut buffer, - Presentation::Animated, - settled_at + Duration::from_secs(/*secs*/ 61), - ), - Some(FRAME_INTERVAL) - ); - assert_eq!(buffer, settled); - assert_eq!(animation.spin_elapsed, elapsed); - buffer.reset(); - assert_eq!( - animation.render_in_at( - area, - &mut buffer, - Presentation::Animated, - settled_at + Duration::from_secs(/*secs*/ 61) + FRAME_INTERVAL, - ), - Some(FRAME_INTERVAL) - ); - assert_ne!(animation.opacity, sequence::STATIC_OPACITY); + assert!(is_blank(&draw(&splash, screen, screen, composer, motion))); } + splash.dismiss(); + assert!(is_blank(&draw( + &splash, + screen, + screen, + Some(ComposerState::Empty), + MotionMode::Animated, + ))); + let mut handoff = EmptyStateAnimation::default(); + handoff.continue_from(&mut splash); + assert!(handoff.is_eligible()); + assert!(!splash.is_eligible()); } #[test] -fn skipped_frames_preserve_spin_until_visible_time_resumes() { - let area = Rect::new( - /*x*/ 0, /*y*/ 0, /*width*/ 48, /*height*/ 17, - ); - let start = Instant::now(); - // The same pause is used before editor handoff and after a job-control resume. - // Calling it after an arbitrarily long interruption must still stop at the last frame. - let mut animation = EmptyStateAnimation::default(); - animation.start_fresh(); - let mut buffer = Buffer::empty(area); - animation.render_in_at(area, &mut buffer, Presentation::Animated, start); - let visible = Duration::from_millis(/*millis*/ 150); - buffer.reset(); - animation.render_in_at(area, &mut buffer, Presentation::Animated, start + visible); - let before = buffer.clone(); - animation.pause_clock(); - let resumed = start + Duration::from_secs(/*secs*/ 3600); - buffer.reset(); - assert_eq!( - animation.render_in_at(area, &mut buffer, Presentation::Animated, resumed), - Some(FRAME_INTERVAL) - ); - assert_eq!(buffer, before); - assert_eq!(animation.spin_elapsed, visible); - buffer.reset(); - animation.render_in_at( - area, - &mut buffer, - Presentation::Animated, - resumed + FRAME_INTERVAL, - ); - assert_eq!(animation.spin_elapsed, visible + FRAME_INTERVAL); -} - -#[test] -fn hidden_and_clipped_frames_preserve_spin_budget_without_restarting() { - let area = Rect::new( - /*x*/ 0, /*y*/ 0, /*width*/ 48, /*height*/ 17, - ); - let start = Instant::now(); - for hidden_area in [area, Rect::default()] { - let mut animation = EmptyStateAnimation::default(); - animation.start_fresh(); - animation.spin_elapsed = sequence::SPIN_DURATION - FRAME_INTERVAL; - let mut buffer = Buffer::empty(area); - animation.render_in_at(area, &mut buffer, Presentation::Animated, start); - let before = buffer.clone(); - buffer.reset(); - let hidden = if hidden_area.is_empty() { - Presentation::Animated - } else { - Presentation::Hidden - }; - assert_eq!( - animation.render_in_at( - hidden_area, - &mut buffer, - hidden, - start + Duration::from_secs(/*secs*/ 20) - ), - None +fn first_screen_splash_layouts() { + let mut splash = EmptyStateAnimation::default(); + splash.start_fresh(); + let mut frames = Vec::new(); + for width in [80, 56, 40] { + let screen = Rect::new(/*x*/ 0, /*y*/ 0, width, /*height*/ 12); + let buffer = draw( + &splash, + screen, + screen, + Some(ComposerState::Empty), + MotionMode::Animated, ); - assert_eq!(buffer, Buffer::empty(area)); - let resumed = start + Duration::from_secs(/*secs*/ 40); - animation.render_in_at(area, &mut buffer, Presentation::Animated, resumed); - assert_eq!(buffer, before); - buffer.reset(); - assert_eq!( - animation.render_in_at( - area, - &mut buffer, - Presentation::Animated, - resumed + FRAME_INTERVAL - ), - None - ); - assert!(buffer.content.iter().any(|cell| cell.symbol() != " ")); - assert_eq!(animation.opacity, 1.0); - animation.pause_clock(); + frames.push(format!("width {width}:\n{}", rows(&buffer).join("\n"))); } -} - -#[test] -fn onboarding_keeps_full_color_after_budget_and_pause() { - crate::terminal_palette::with_test_default_colors( - crate::terminal_probe::DefaultColors { - fg: (210, 221, 235), - bg: (15, 20, 37), - }, - || { - let area = Rect::new( - /*x*/ 0, /*y*/ 0, /*width*/ 48, /*height*/ 17, - ); - let start = Instant::now(); - let mut animation = EmptyStateAnimation::default(); - animation.start_fresh(); - let mut buffer = Buffer::empty(area); - animation.render_in_at(area, &mut buffer, Presentation::Animated, start); - buffer.reset(); - assert_eq!( - animation.render_in_at( - area, - &mut buffer, - Presentation::Animated, - start + sequence::SPIN_DURATION - ), - None - ); - assert_eq!(animation.opacity, 1.0); - assert!(buffer.content.iter().any(|cell| cell.symbol() != " ")); - insta::assert_snapshot!( - "onboarding_settled_logo", - buffer - .content - .chunks(usize::from(area.width)) - .map(|row| row - .iter() - .map(ratatui::buffer::Cell::symbol) - .collect::() - .trim_end() - .to_owned()) - .collect::>() - .join("\n") - ); - let settled = buffer.clone(); - animation.pause_clock(); - buffer.reset(); - assert_eq!( - animation.render_in_at( - area, - &mut buffer, - Presentation::Faded, - start + Duration::from_secs(/*secs*/ 3600) - ), - None - ); - assert_eq!(buffer, settled); - }, - ); + insta::assert_snapshot!("first_screen_splash", frames.join("\n\n")); } diff --git a/codex-rs/tui/src/external_agent_config_migration/model.rs b/codex-rs/tui/src/external_agent_config_migration/model.rs index b6760d3b..8fcc1532 100644 --- a/codex-rs/tui/src/external_agent_config_migration/model.rs +++ b/codex-rs/tui/src/external_agent_config_migration/model.rs @@ -56,7 +56,7 @@ pub(crate) fn external_agent_config_migration_groups( } else { format!("Projects ({project_count})") }, - description: "Add Codex files alongside your existing project files", + description: "Add aKode files alongside your existing project files", item_indices: projects, }); } diff --git a/codex-rs/tui/src/external_agent_config_migration/render.rs b/codex-rs/tui/src/external_agent_config_migration/render.rs index 4d6a736f..787b84e1 100644 --- a/codex-rs/tui/src/external_agent_config_migration/render.rs +++ b/codex-rs/tui/src/external_agent_config_migration/render.rs @@ -84,12 +84,12 @@ impl WidgetRef for &ExternalAgentConfigMigrationScreen { let intro_lines = match self.view { MigrationView::Summary => vec![ Line::from("Bring over supported setup from another coding agent."), - Line::from("Codex may add files to your current project folder."), + Line::from("aKode may add files to your current project folder."), Line::from("Your existing setup will not be changed."), ], MigrationView::Customize => vec![ Line::from("Choose items to import."), - Line::from("Codex may add files to your current project folder."), + Line::from("aKode may add files to your current project folder."), Line::from("Your existing setup will not be changed."), ], }; diff --git a/codex-rs/tui/src/external_agent_config_migration/snapshots/codex_tui__external_agent_config_migration__tests__external_agent_config_migration_customize.snap b/codex-rs/tui/src/external_agent_config_migration/snapshots/codex_tui__external_agent_config_migration__tests__external_agent_config_migration_customize.snap index 08ff99ff..1fdbc5f4 100644 --- a/codex-rs/tui/src/external_agent_config_migration/snapshots/codex_tui__external_agent_config_migration__tests__external_agent_config_migration_customize.snap +++ b/codex-rs/tui/src/external_agent_config_migration/snapshots/codex_tui__external_agent_config_migration__tests__external_agent_config_migration_customize.snap @@ -5,7 +5,7 @@ expression: rendered > Choose what to import Choose items to import. - Codex may add files to your current project folder. + aKode may add files to your current project folder. Your existing setup will not be changed. Home › [x] Settings diff --git a/codex-rs/tui/src/external_agent_config_migration/snapshots/codex_tui__external_agent_config_migration__tests__external_agent_config_migration_customize_action.snap b/codex-rs/tui/src/external_agent_config_migration/snapshots/codex_tui__external_agent_config_migration__tests__external_agent_config_migration_customize_action.snap index 74655a4d..932b6d6f 100644 --- a/codex-rs/tui/src/external_agent_config_migration/snapshots/codex_tui__external_agent_config_migration__tests__external_agent_config_migration_customize_action.snap +++ b/codex-rs/tui/src/external_agent_config_migration/snapshots/codex_tui__external_agent_config_migration__tests__external_agent_config_migration_customize_action.snap @@ -5,7 +5,7 @@ expression: rendered > Choose what to import Choose items to import. - Codex may add files to your current project folder. + aKode may add files to your current project folder. Your existing setup will not be changed. Home [x] Settings diff --git a/codex-rs/tui/src/external_agent_config_migration/snapshots/codex_tui__external_agent_config_migration__tests__external_agent_config_migration_prompt.snap b/codex-rs/tui/src/external_agent_config_migration/snapshots/codex_tui__external_agent_config_migration__tests__external_agent_config_migration_prompt.snap index 8998de2e..525b2733 100644 --- a/codex-rs/tui/src/external_agent_config_migration/snapshots/codex_tui__external_agent_config_migration__tests__external_agent_config_migration_prompt.snap +++ b/codex-rs/tui/src/external_agent_config_migration/snapshots/codex_tui__external_agent_config_migration__tests__external_agent_config_migration_prompt.snap @@ -5,13 +5,13 @@ expression: rendered > Import setup Bring over supported setup from another coding agent. - Codex may add files to your current project folder. + aKode may add files to your current project folder. Your existing setup will not be changed. [x] Tools & setup Settings, instructions, integrations, agents, commands, and skills Importing: Settings 1, Memory 1 [x] Current project - Add Codex files alongside your existing project files + Add aKode files alongside your existing project files Importing: Plugins 6, Instructions 1 [x] Chat sessions (1) Last 30 days of chats diff --git a/codex-rs/tui/src/external_agent_config_migration/snapshots/codex_tui__external_agent_config_migration__tests__external_agent_config_migration_secondary_source_customize.snap b/codex-rs/tui/src/external_agent_config_migration/snapshots/codex_tui__external_agent_config_migration__tests__external_agent_config_migration_secondary_source_customize.snap index 47f67380..f3def0e9 100644 --- a/codex-rs/tui/src/external_agent_config_migration/snapshots/codex_tui__external_agent_config_migration__tests__external_agent_config_migration_secondary_source_customize.snap +++ b/codex-rs/tui/src/external_agent_config_migration/snapshots/codex_tui__external_agent_config_migration__tests__external_agent_config_migration_secondary_source_customize.snap @@ -5,7 +5,7 @@ expression: rendered > Choose what to import Choose items to import. - Codex may add files to your current project folder. + aKode may add files to your current project folder. Your existing setup will not be changed. Home › [x] Settings diff --git a/codex-rs/tui/src/history_cell/approvals.rs b/codex-rs/tui/src/history_cell/approvals.rs index b6ba3acb..e4e7ca50 100644 --- a/codex-rs/tui/src/history_cell/approvals.rs +++ b/codex-rs/tui/src/history_cell/approvals.rs @@ -141,7 +141,7 @@ pub fn new_approval_decision_cell( vec![ actor.subject().into(), "persisted".bold(), - " Codex network access to ".into(), + " aKode network access to ".into(), Span::from(target).dim(), ], ), diff --git a/codex-rs/tui/src/history_cell/delegated_message.rs b/codex-rs/tui/src/history_cell/delegated_message.rs index 4c27eef9..db6602ad 100644 --- a/codex-rs/tui/src/history_cell/delegated_message.rs +++ b/codex-rs/tui/src/history_cell/delegated_message.rs @@ -13,7 +13,7 @@ pub(crate) struct DelegatedMessageCell { impl DelegatedMessageCell { pub(crate) fn new(source_thread_id: &str, markdown: String) -> Self { Self { - attribution: format!("Sent by Codex from task {source_thread_id}"), + attribution: format!("Sent by aKode from task {source_thread_id}"), markdown, } } diff --git a/codex-rs/tui/src/history_cell/session.rs b/codex-rs/tui/src/history_cell/session.rs index 120454d1..54001258 100644 --- a/codex-rs/tui/src/history_cell/session.rs +++ b/codex-rs/tui/src/history_cell/session.rs @@ -1,6 +1,7 @@ //! Session headers, onboarding guidance, and transcript cards. use super::*; +use crate::branding; use crate::line_truncation::line_width; use crate::line_truncation::truncate_line_with_ellipsis_if_overflow; use crate::style::accent_color; @@ -44,7 +45,7 @@ pub(crate) fn with_border_with_inner_width( pub(crate) fn codex_title(version: &str) -> Vec> { vec![ ">_ ".fg(accent_color()), - "OpenAI Codex".bold(), + branding::PRODUCT_NAME.bold(), format!(" (v{version})").dim(), ] } @@ -210,7 +211,8 @@ pub(crate) fn new_session_info( .with_yolo_mode(has_yolo_permissions( session.approval_policy, &session.permission_profile, - )); + )) + .with_provider_name(Some(config.model_provider.name.clone())); let mut parts: Vec> = vec![Box::new(header)]; if is_first_event && local_settings.tui.show_tooltips { @@ -223,7 +225,7 @@ pub(crate) fn new_session_info( Line::from(vec![ " ".into(), "/init".into(), - " - create an AGENTS.md file with instructions for Codex".dim(), + " - create an AGENTS.md file with instructions for aKode".dim(), ]), Line::from(vec![ " ".into(), @@ -233,7 +235,7 @@ pub(crate) fn new_session_info( Line::from(vec![ " ".into(), "/permissions".into(), - " - choose what Codex is allowed to do".dim(), + " - choose what aKode is allowed to do".dim(), ]), Line::from(vec![ " ".into(), @@ -320,6 +322,7 @@ pub(crate) struct SessionHeaderHistoryCell { model: String, reasoning_effort: Option, directory: PathBuf, + provider_name: Option, yolo_mode: bool, } @@ -335,10 +338,16 @@ impl SessionHeaderHistoryCell { model, reasoning_effort, directory, + provider_name: None, yolo_mode: false, } } + pub(crate) fn with_provider_name(mut self, provider_name: Option) -> Self { + self.provider_name = provider_name.filter(|name| !name.trim().is_empty()); + self + } + pub(crate) fn with_yolo_mode(mut self, yolo_mode: bool) -> Self { self.yolo_mode = yolo_mode; self @@ -379,24 +388,59 @@ impl SessionHeaderHistoryCell { } impl HistoryCell for SessionHeaderHistoryCell { + /// Ghost avatar on the left; product/version, model/provider, and directory on the right. + /// Terminals too narrow for the avatar keep the text column alone. fn display_lines(&self, width: u16) -> Vec> { + const INDENT: &str = " "; let width = usize::from(width); - let mut title = vec![" ".into()]; - title.extend(codex_title(self.version)); - let mut lines = vec![ - Line::default(), - Line::from(title), - Line::from(vec![ - " ".into(), - self.format_directory(Some(width.saturating_sub(/*rhs*/ 5))) - .dim(), - ]), + let avatar_width = INDENT.len() + branding::GHOST_WIDTH + branding::GHOST_GAP; + let show_avatar = width >= avatar_width + 16; + let text_indent = if show_avatar { + avatar_width + } else { + INDENT.len() + }; + + let mut title: Vec> = vec![ + branding::PRODUCT_NAME.bold(), + format!(" v{}", self.version).dim(), ]; - if self.yolo_mode { - lines.push(Line::from(vec![ - " permissions: ".dim(), - "YOLO mode".magenta().bold(), - ])); + if !show_avatar { + title.insert(0, ">_ ".fg(accent_color())); + } + let mut model: Vec> = vec![self.model.clone().into()]; + if let Some(provider) = &self.provider_name { + model.push(" · ".dim()); + model.push(provider.clone().dim()); + } + let directory = vec![ + self.format_directory(Some(width.saturating_sub(text_indent))) + .dim(), + ]; + let yolo = self + .yolo_mode + .then(|| vec!["permissions: ".dim(), "YOLO mode".magenta().bold()]); + + let mut lines = vec![Line::default()]; + if show_avatar { + let mut right = vec![Some(title), Some(model), Some(directory), yolo]; + for (row, text) in right.iter_mut().enumerate() { + let mut spans = vec![INDENT.into(), branding::ghost_span(row)]; + if let Some(text) = text.take() { + spans.push(" ".repeat(branding::GHOST_GAP).into()); + spans.extend(text); + } + lines.push(Line::from(spans)); + } + } else { + for text in [Some(title), Some(model), Some(directory), yolo] + .into_iter() + .flatten() + { + let mut spans = vec![INDENT.into()]; + spans.extend(text); + lines.push(Line::from(spans)); + } } lines .into_iter() @@ -406,7 +450,7 @@ impl HistoryCell for SessionHeaderHistoryCell { fn raw_lines(&self) -> Vec> { let mut lines = vec![ - Line::from(format!("OpenAI Codex (v{})", self.version)), + Line::from(format!("{} v{}", branding::PRODUCT_NAME, self.version)), Line::from(format!( "model: {}{}", self.model, @@ -419,6 +463,9 @@ impl HistoryCell for SessionHeaderHistoryCell { self.format_directory(/*max_width*/ None) )), ]; + if let Some(provider) = &self.provider_name { + lines.insert(2, Line::from(format!("provider: {provider}"))); + } if self.yolo_mode { lines.push(Line::from("permissions: YOLO mode")); } diff --git a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__connected_server_version_notice_snapshot.snap b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__connected_server_version_notice_snapshot.snap index fc38c4a8..f4b6cb03 100644 --- a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__connected_server_version_notice_snapshot.snap +++ b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__connected_server_version_notice_snapshot.snap @@ -2,4 +2,4 @@ source: tui/src/history_cell/tests.rs expression: "render_lines(&cell.display_lines(100)).join(\"\\n\")" --- -⚠ A background Codex service is running v0.152.1, older than your Codex CLI v0.153.0. +⚠ A background aKode service is running v0.152.1, older than your aKode CLI v0.153.0. diff --git a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__delegated_message_list_spacing_in_scrollback_and_transcript.snap b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__delegated_message_list_spacing_in_scrollback_and_transcript.snap index d9c1a05e..83aec4f2 100644 --- a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__delegated_message_list_spacing_in_scrollback_and_transcript.snap +++ b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__delegated_message_list_spacing_in_scrollback_and_transcript.snap @@ -2,7 +2,7 @@ source: tui/src/history_cell/tests.rs --- Scrollback -• Sent by Codex from task other +• Sent by aKode from task other • One • This item has enough words to wrap @@ -10,7 +10,7 @@ Scrollback • Three Redrawable transcript -• Sent by Codex from task other +• Sent by aKode from task other • One • This item has enough words diff --git a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__local_daemon_alpha_mismatch.snap b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__local_daemon_alpha_mismatch.snap index 33daccae..7a0876f8 100644 --- a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__local_daemon_alpha_mismatch.snap +++ b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__local_daemon_alpha_mismatch.snap @@ -2,6 +2,6 @@ source: tui/src/history_cell/tests.rs expression: "render_lines(&cell.display_lines(100)).join(\"\\n\")" --- -⚠ A background Codex service is running v0.156.0, different from your Codex CLI v0.155.0-alpha.12. +⚠ A background aKode service is running v0.156.0, different from your aKode CLI v0.155.0-alpha.12. Use /daemon to manage the local background server. Updating may interrupt active or queued work. diff --git a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__local_daemon_source_mismatch.snap b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__local_daemon_source_mismatch.snap index b27b69dc..2e4878ca 100644 --- a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__local_daemon_source_mismatch.snap +++ b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__local_daemon_source_mismatch.snap @@ -2,6 +2,6 @@ source: tui/src/history_cell/tests.rs expression: "render_lines(&cell.display_lines(100)).join(\"\\n\")" --- -⚠ A background Codex service is running v0.156.0, different from your Codex CLI v0.0.0. +⚠ A background aKode service is running v0.156.0, different from your aKode CLI v0.0.0. Use /daemon to manage the local background server. Updating may interrupt active or queued work. diff --git a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__local_daemon_version_notice_snapshot.snap b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__local_daemon_version_notice_snapshot.snap index e3ade9c7..a4a33c30 100644 --- a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__local_daemon_version_notice_snapshot.snap +++ b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__local_daemon_version_notice_snapshot.snap @@ -2,6 +2,6 @@ source: tui/src/history_cell/tests.rs expression: "render_lines(&cell.display_lines(100)).join(\"\\n\")" --- -⚠ A background Codex service is running v0.152.1, older than your Codex CLI v0.153.0. +⚠ A background aKode service is running v0.152.1, older than your aKode CLI v0.153.0. Use /daemon to manage the local background server. Updating may interrupt active or queued work. diff --git a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__pnpm_update_available_history_cell_snapshot.snap b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__pnpm_update_available_history_cell_snapshot.snap index a9dd9cac..76f5dd09 100644 --- a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__pnpm_update_available_history_cell_snapshot.snap +++ b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__pnpm_update_available_history_cell_snapshot.snap @@ -3,7 +3,7 @@ source: tui/src/history_cell/tests.rs expression: rendered --- ╭─────────────────────────────────────────────────╮ -│ ✨ Update available! 0.0.0 -> 9.9.9 │ +│ ✨ Update available! 0.1.0 -> 9.9.9 │ │ Run pnpm add -g @openai/codex to update. │ │ │ │ See full release notes: │ diff --git a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__session_header_clamps_to_narrow_width.snap b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__session_header_clamps_to_narrow_width.snap index 13e70b5d..45567b89 100644 --- a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__session_header_clamps_to_narrow_width.snap +++ b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__session_header_clamps_to_narrow_width.snap @@ -4,6 +4,7 @@ assertion_line: 1867 expression: "render_lines(&lines).join(\"\\n\")" --- - >_ OpenAI Codex (vtest) - project - permissions: YOLO mode + ▄▄████▄▄ aKode vtest + ██▀▀██▀▀██ gpt-5.6-sol + ██▄▄██▄▄██ project + ██▀████▀██ permissions: YOLO mode diff --git a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__session_header_halfwidth_directory.snap b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__session_header_halfwidth_directory.snap index fa464a0b..a9c23422 100644 --- a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__session_header_halfwidth_directory.snap +++ b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__session_header_halfwidth_directory.snap @@ -4,45 +4,36 @@ assertion_line: 1903 expression: "format!(\"{buf:?}\")" --- Buffer { - area: Rect { x: 0, y: 0, width: 42, height: 3 }, + area: Rect { x: 0, y: 0, width: 42, height: 5 }, content: [ " ", - " >_ OpenAI Codex (vtest) ", - " …ガパガパガパガパガパガパガパ-project", // hidden by multi-width symbols: [(7, " "), (9, " "), (11, " "), (13, " "), (15, " "), (17, " "), (19, " "), (21, " "), (23, " "), (25, " "), (27, " "), (29, " "), (31, " "), (33, " ")] + " ▄▄████▄▄ aKode vtest ", + " ██▀▀██▀▀██ gpt-5 ", + " ██▄▄██▄▄██ …ガパガパガパガパ-project ", // hidden by multi-width symbols: [(18, " "), (20, " "), (22, " "), (24, " "), (26, " "), (28, " "), (30, " "), (32, " ")] + " ██▀████▀██ ", ], styles: [ x: 0, y: 0, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, - x: 5, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: BOLD, - x: 17, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, - x: 25, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, - x: 5, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, - x: 7, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, - x: 8, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, - x: 9, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, - x: 10, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, - x: 11, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, - x: 12, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, - x: 13, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, - x: 14, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, - x: 15, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, - x: 16, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, - x: 17, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, - x: 18, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, - x: 19, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, - x: 20, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, - x: 21, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, - x: 22, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, - x: 23, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, - x: 24, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, - x: 25, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, - x: 26, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, - x: 27, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, - x: 28, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, - x: 29, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, - x: 30, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, - x: 31, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, - x: 32, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, - x: 33, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, - x: 34, y: 2, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, + x: 16, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: BOLD, + x: 21, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, + x: 27, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 16, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, + x: 18, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 19, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, + x: 20, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 21, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, + x: 22, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 23, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, + x: 24, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 25, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, + x: 26, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 27, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, + x: 28, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 29, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, + x: 30, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 31, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, + x: 32, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, + x: 33, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: DIM, + x: 41, y: 3, fg: Reset, bg: Reset, underline: Reset, modifier: NONE, ] } diff --git a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__session_header_indicates_yolo_mode.snap b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__session_header_indicates_yolo_mode.snap index ab195e3d..d2acd8b7 100644 --- a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__session_header_indicates_yolo_mode.snap +++ b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__session_header_indicates_yolo_mode.snap @@ -4,6 +4,7 @@ assertion_line: 1885 expression: rendered --- - >_ OpenAI Codex (vtest) - /tmp/project - permissions: YOLO mode + ▄▄████▄▄ aKode vtest + ██▀▀██▀▀██ gpt-5 + ██▄▄██▄▄██ /tmp/project + ██▀████▀██ permissions: YOLO mode diff --git a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__session_info_availability_nux_tooltip_snapshot.snap b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__session_info_availability_nux_tooltip_snapshot.snap index e5cc9a0c..5279bc0f 100644 --- a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__session_info_availability_nux_tooltip_snapshot.snap +++ b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__session_info_availability_nux_tooltip_snapshot.snap @@ -4,7 +4,9 @@ assertion_line: 778 expression: rendered --- - >_ OpenAI Codex (v0.0.0) - /tmp/project + ▄▄████▄▄ aKode v0.1.0 + ██▀▀██▀▀██ gpt-5 · OpenAI + ██▄▄██▄▄██ /tmp/project + ██▀████▀██ Tip: Model just became available diff --git a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__standalone_unix_update_available_history_cell_snapshot.snap b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__standalone_unix_update_available_history_cell_snapshot.snap index 8f1548cf..87cbfa42 100644 --- a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__standalone_unix_update_available_history_cell_snapshot.snap +++ b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__standalone_unix_update_available_history_cell_snapshot.snap @@ -3,7 +3,7 @@ source: tui/src/history_cell/tests.rs expression: rendered --- ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ -│ ✨ Update available! 0.0.0 -> 9.9.9 │ +│ ✨ Update available! 0.1.0 -> 9.9.9 │ │ Run sh -c 's=$(curl -fsSL https://chatgpt.com/codex/install.sh) && CODEX_NON_INTERACTIVE=1 eval "$s"' to │ │ update. │ │ │ diff --git a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__standalone_windows_update_available_history_cell_snapshot.snap b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__standalone_windows_update_available_history_cell_snapshot.snap index fb15a057..c3585596 100644 --- a/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__standalone_windows_update_available_history_cell_snapshot.snap +++ b/codex-rs/tui/src/history_cell/snapshots/codex_tui__history_cell__tests__standalone_windows_update_available_history_cell_snapshot.snap @@ -3,7 +3,7 @@ source: tui/src/history_cell/tests.rs expression: rendered --- ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ -│ ✨ Update available! 0.0.0 -> 9.9.9 │ +│ ✨ Update available! 0.1.0 -> 9.9.9 │ │ Run powershell -ExecutionPolicy Bypass -c '$env:CODEX_NON_INTERACTIVE=1; irm │ │ https://chatgpt.com/codex/install.ps1 | iex' to update. │ │ │ diff --git a/codex-rs/tui/src/ide_context/ipc.rs b/codex-rs/tui/src/ide_context/ipc.rs index 5fd76e0d..9d6dc399 100644 --- a/codex-rs/tui/src/ide_context/ipc.rs +++ b/codex-rs/tui/src/ide_context/ipc.rs @@ -27,7 +27,7 @@ const OPEN_IDE_HINT: &str = #[cfg(any(unix, windows))] const IDE_DID_NOT_PROVIDE_CONTEXT_HINT: &str = "The IDE extension did not provide context."; #[cfg(any(unix, windows))] -const KEEP_TRYING_HINT: &str = "Codex will keep trying on future messages."; +const KEEP_TRYING_HINT: &str = "aKode will keep trying on future messages."; #[derive(Debug, Error)] pub(crate) enum IdeContextError { @@ -69,10 +69,10 @@ impl IdeContextError { "The selected IDE context is too large. Clear any large selection in your IDE and try /ide again.".to_string() } IdeContextError::Send(_) => { - "Codex could not request IDE context. Try /ide again.".to_string() + "aKode could not request IDE context. Try /ide again.".to_string() } IdeContextError::Read(_) | IdeContextError::InvalidResponse(_) => { - "Codex could not read IDE context. Try /ide again.".to_string() + "aKode could not read IDE context. Try /ide again.".to_string() } } } @@ -89,11 +89,11 @@ impl IdeContextError { OPEN_IDE_HINT.to_string() } IdeContextError::Read(error) if error.kind() == std::io::ErrorKind::TimedOut => { - "Codex timed out waiting for IDE context. It will keep trying on future messages." + "aKode timed out waiting for IDE context. It will keep trying on future messages." .to_string() } IdeContextError::RequestFailed(error) if error == "client-disconnected" => { - hint_with_retry("The IDE connection changed while Codex was requesting context.") + hint_with_retry("The IDE connection changed while aKode was requesting context.") } IdeContextError::RequestFailed(error) if error == "request-timeout" => { hint_with_retry("The IDE extension did not answer in time.") @@ -106,13 +106,13 @@ impl IdeContextError { "The connected IDE client does not support IDE context requests.".to_string() } IdeContextError::Send(_) => { - hint_with_retry("Codex lost the IDE connection while requesting context.") + hint_with_retry("aKode lost the IDE connection while requesting context.") } IdeContextError::InvalidResponse(_) => { - hint_with_retry("Codex received an unexpected IDE context response.") + hint_with_retry("aKode received an unexpected IDE context response.") } IdeContextError::RequestFailed(_) => hint_with_retry(IDE_DID_NOT_PROVIDE_CONTEXT_HINT), - IdeContextError::Read(_) => hint_with_retry("Codex could not read IDE context."), + IdeContextError::Read(_) => hint_with_retry("aKode could not read IDE context."), } } diff --git a/codex-rs/tui/src/keymap.rs b/codex-rs/tui/src/keymap.rs index 5dd67dab..42e89735 100644 --- a/codex-rs/tui/src/keymap.rs +++ b/codex-rs/tui/src/keymap.rs @@ -2752,7 +2752,7 @@ impl RuntimeKeymap { return Err(format!( "Ambiguous approval overlay keymap bindings: `{previous}` and `{action}` use the same key. \ Set unique keys in `~/.codex/config.toml` and retry. \ -See the Codex keymap documentation for supported actions and examples." +See the aKode keymap documentation for supported actions and examples." )); } } @@ -2778,7 +2778,7 @@ fn validate_unique<'a>( return Err(format!( "Ambiguous `tui.keymap.{context}` bindings: `{previous}` and `{action}` use the same key. \ Set unique keys in `~/.codex/config.toml` and retry. \ -See the Codex keymap documentation for supported actions and examples." +See the aKode keymap documentation for supported actions and examples." )); } } @@ -2814,7 +2814,7 @@ fn validate_no_shadow_with_allowed_overlaps( return Err(format!( "Ambiguous `tui.keymap.{context}` bindings: `{action}` uses a key reserved by `{reserved_action}`. \ Set a different key in `~/.codex/config.toml` and retry. \ -See the Codex keymap documentation for supported actions and examples." +See the aKode keymap documentation for supported actions and examples." )); } } @@ -3034,7 +3034,7 @@ fn parse_bindings(spec: &KeybindingsSpec, path: &str) -> Result, let binding = parse_keybinding(raw.as_str()).ok_or_else(|| { format!( "Invalid `{path}` = `{}`. Use values like `ctrl-a`, `shift-enter`, or `page-down`. \ -See the Codex keymap documentation for supported actions and examples.", +See the aKode keymap documentation for supported actions and examples.", raw.as_str() ) })?; diff --git a/codex-rs/tui/src/keymap/conflict_tests.rs b/codex-rs/tui/src/keymap/conflict_tests.rs index e543a919..63b3ee3e 100644 --- a/codex-rs/tui/src/keymap/conflict_tests.rs +++ b/codex-rs/tui/src/keymap/conflict_tests.rs @@ -31,7 +31,7 @@ fn conflicting_contexts_report_the_first_conflict_in_validation_order() { format!( "Ambiguous `tui.keymap.{context}` bindings: `{first}` and `{second}` use the same key. \ Set unique keys in `~/.codex/config.toml` and retry. \ -See the Codex keymap documentation for supported actions and examples." +See the aKode keymap documentation for supported actions and examples." ) ); config.remove(context); diff --git a/codex-rs/tui/src/keymap_setup.rs b/codex-rs/tui/src/keymap_setup.rs index d6c4d39f..270528b7 100644 --- a/codex-rs/tui/src/keymap_setup.rs +++ b/codex-rs/tui/src/keymap_setup.rs @@ -853,7 +853,7 @@ mod tests { frame_requester: FrameRequester::test_dummy(), has_input_focus: true, enhanced_keys_supported: false, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: false, effects: Default::default(), diff --git a/codex-rs/tui/src/keymap_setup/debug.rs b/codex-rs/tui/src/keymap_setup/debug.rs index 0415086a..6910c7a7 100644 --- a/codex-rs/tui/src/keymap_setup/debug.rs +++ b/codex-rs/tui/src/keymap_setup/debug.rs @@ -22,8 +22,8 @@ use super::actions::matching_actions_for_key_event; use super::key_event_to_config_key_spec; const MISSING_KEY_HINT_DELAY: Duration = Duration::from_secs(3); -const SHORT_MISSING_KEY_HINT: &str = "Tip: Codex can only inspect keys your terminal sends."; -const DELAYED_MISSING_KEY_HINT: &str = "Still waiting? If nothing changes when you press a key, your terminal is not sending that key to Codex. Only received keys can be assigned as shortcuts."; +const SHORT_MISSING_KEY_HINT: &str = "Tip: aKode can only inspect keys your terminal sends."; +const DELAYED_MISSING_KEY_HINT: &str = "Still waiting? If nothing changes when you press a key, your terminal is not sending that key to aKode. Only received keys can be assigned as shortcuts."; struct KeymapDebugReport { detected: KeyBinding, @@ -64,7 +64,7 @@ impl KeymapDebugView { let mut lines = vec![ Line::from("Keypress Inspector".bold()), Line::from( - "Press any key to see what Codex receives. Esc is inspected; Ctrl+C closes.".dim(), + "Press any key to see what aKode receives. Esc is inspected; Ctrl+C closes.".dim(), ), ]; let hint = if self.should_show_delayed_hint(now) { diff --git a/codex-rs/tui/src/keymap_setup/picker.rs b/codex-rs/tui/src/keymap_setup/picker.rs index 975a06c1..dcd2d192 100644 --- a/codex-rs/tui/src/keymap_setup/picker.rs +++ b/codex-rs/tui/src/keymap_setup/picker.rs @@ -323,7 +323,7 @@ fn keymap_debug_tab() -> SelectionTab { label: "Debug".to_string(), header: keymap_header( "Inspect keypresses from your terminal.".to_string(), - "See the key Codex detects and any shortcuts assigned to it.".to_string(), + "See the key aKode detects and any shortcuts assigned to it.".to_string(), ), items: vec![SelectionItem { name: "Inspect keypresses".to_string(), diff --git a/codex-rs/tui/src/lib.rs b/codex-rs/tui/src/lib.rs index a021f9b6..7f654742 100644 --- a/codex-rs/tui/src/lib.rs +++ b/codex-rs/tui/src/lib.rs @@ -111,6 +111,7 @@ mod async_question_reply; mod backend_id; mod bottom_pane; mod branch_summary; +mod branding; mod chatwidget; mod cli; mod clipboard_copy; @@ -1257,11 +1258,7 @@ async fn run_ratatui_app( let startup_app_server = startup_draft .run_until( &mut tui, - connect( - &mut app_server_target, - &initial_config, - &mut state_db, - ), + connect(&mut app_server_target, &initial_config, &mut state_db), ) .await; let mut app_server_session = match startup_app_server { @@ -1436,11 +1433,7 @@ async fn run_ratatui_app( let client = startup_draft .run_until( &mut tui, - connect( - &mut app_server_target, - &selected, - &mut state_db, - ), + connect(&mut app_server_target, &selected, &mut state_db), ) .await??; let mut server = @@ -1877,11 +1870,7 @@ async fn run_ratatui_app( None => match startup_draft .run_until( &mut tui, - connect( - &mut app_server_target, - &config, - &mut state_db, - ), + connect(&mut app_server_target, &config, &mut state_db), ) .await { diff --git a/codex-rs/tui/src/model_migration.rs b/codex-rs/tui/src/model_migration.rs index 47ed0fdb..891d4fb7 100644 --- a/codex-rs/tui/src/model_migration.rs +++ b/codex-rs/tui/src/model_migration.rs @@ -89,7 +89,7 @@ pub(crate) fn migration_copy_for_models( } let heading_text = Span::from(format!( - "Codex just got an upgrade. Introducing {target_display_name}." + "aKode just got an upgrade. Introducing {target_display_name}." )) .bold(); let description_line: Line<'static>; diff --git a/codex-rs/tui/src/notifications/osc.rs b/codex-rs/tui/src/notifications/osc.rs index 9768e2aa..c3217c67 100644 --- a/codex-rs/tui/src/notifications/osc.rs +++ b/codex-rs/tui/src/notifications/osc.rs @@ -74,7 +74,7 @@ impl Command for PostNotification<'_> { } let sequence = match self.protocol { OscProtocol::Osc9 => format!("\x1b]9;{body}\x07"), - OscProtocol::Osc777 => format!("\x1b]777;notify;Codex;{body}\x1b\\"), + OscProtocol::Osc777 => format!("\x1b]777;notify;aKode;{body}\x1b\\"), }; if self.dcs_passthrough { let escaped = sequence.replace('\x1b', "\x1b\x1b"); @@ -133,7 +133,7 @@ mod tests { (OscProtocol::Osc9, format!("\x1b]9;{prefix}…\x07")), ( OscProtocol::Osc777, - format!("\x1b]777;notify;Codex;{prefix}…\x1b\\"), + format!("\x1b]777;notify;aKode;{prefix}…\x1b\\"), ), ] { let mut ansi = String::new(); @@ -202,8 +202,8 @@ mod tests { } insta::assert_debug_snapshot!(sequences, @r#" [ - "\u{1b}]777;notify;Codex;Approval requested: cargo test; git clean -fd\u{1b}\\", - "\u{1b}Ptmux;\u{1b}\u{1b}]777;notify;Codex;Approval requested: cargo test; git clean -fd\u{1b}\u{1b}\\\u{1b}\\", + "\u{1b}]777;notify;aKode;Approval requested: cargo test; git clean -fd\u{1b}\\", + "\u{1b}Ptmux;\u{1b}\u{1b}]777;notify;aKode;Approval requested: cargo test; git clean -fd\u{1b}\u{1b}\\\u{1b}\\", ] "#); } diff --git a/codex-rs/tui/src/onboarding/auth.rs b/codex-rs/tui/src/onboarding/auth.rs index ed65fc14..27408688 100644 --- a/codex-rs/tui/src/onboarding/auth.rs +++ b/codex-rs/tui/src/onboarding/auth.rs @@ -369,9 +369,9 @@ impl AuthModeWidget { fn render_pick_mode(&self, area: Rect, buf: &mut Buffer) { let mut lines: Vec = if self.bedrock_setup_enabled || self.gcp_setup_enabled || self.gateway_setup_enabled { - vec![" Choose how you want to use Codex.".into(), "".into()] + vec![" Choose how you want to use aKode.".into(), "".into()] } else { - vec![" Connect an API key to use Codex.".into(), "".into()] + vec![" Connect an API key to use aKode.".into(), "".into()] }; let options_start = lines.len(); @@ -480,7 +480,7 @@ impl AuthModeWidget { let lines = vec![ "✓ API key configured".fg(Color::Green).into(), "".into(), - " Codex will use usage-based billing with your API key.".into(), + " aKode will use usage-based billing with your API key.".into(), ]; Paragraph::new(lines) @@ -983,7 +983,7 @@ mod tests { rows.pop(); } insta::assert_snapshot!(rows.join("\n"), @r###" - Choose how you want to use Codex. + Choose how you want to use aKode. 1. Use an OpenAI API key Pay for what you use diff --git a/codex-rs/tui/src/onboarding/bedrock.rs b/codex-rs/tui/src/onboarding/bedrock.rs index 8d6aff2c..b7b5ec28 100644 --- a/codex-rs/tui/src/onboarding/bedrock.rs +++ b/codex-rs/tui/src/onboarding/bedrock.rs @@ -358,9 +358,9 @@ impl BedrockState { let mut footer = Vec::new(); match &self.view { BedrockView::GovCloudWarning(_) => { - lines = vec!["Using Codex with AWS GovCloud".bold().into(), "".into()]; + lines = vec!["Using aKode with AWS GovCloud".bold().into(), "".into()]; lines.push(Line::from(vec![ - "You are using Codex with AWS GovCloud. Please ensure you or your administrator have read the ".into(), + "You are using aKode with AWS GovCloud. Please ensure you or your administrator have read the ".into(), "application configuration and security guidance" .cyan() .underlined(), diff --git a/codex-rs/tui/src/onboarding/bedrock_tests.rs b/codex-rs/tui/src/onboarding/bedrock_tests.rs index 591fe918..c723eee6 100644 --- a/codex-rs/tui/src/onboarding/bedrock_tests.rs +++ b/codex-rs/tui/src/onboarding/bedrock_tests.rs @@ -44,14 +44,14 @@ fn gov_cloud_guidance_scrolls_in_short_panes() { !state.handle_guidance_key_event(&KeyEvent::new(KeyCode::Down, KeyModifiers::NONE)) ); } - assert!(seen.contains("Using Codex with AWS")); + assert!(seen.contains("Using aKode with AWS")); assert!(seen.contains("proceeding.")); assert!(seen.contains(GOV_CLOUD_GUIDANCE_URL)); for _ in 0..20 { state.handle_guidance_key_event(&KeyEvent::new(KeyCode::Up, KeyModifiers::NONE)); render_visible_at(&state, area); } - assert!(render_visible_at(&state, area).starts_with("Using Codex with AWS")); + assert!(render_visible_at(&state, area).starts_with("Using aKode with AWS")); } assert_eq!(render_visible_at(&state, area), initial); state.handle_guidance_key_event(&KeyEvent::new(KeyCode::Down, KeyModifiers::NONE)); diff --git a/codex-rs/tui/src/onboarding/gcp.rs b/codex-rs/tui/src/onboarding/gcp.rs index 45cb9f55..292c7aaa 100644 --- a/codex-rs/tui/src/onboarding/gcp.rs +++ b/codex-rs/tui/src/onboarding/gcp.rs @@ -71,7 +71,7 @@ impl GcpState { Some((&self.location, " Location (optional): ", "global")), ), GcpView::Credentials => ( - "Enter an absolute file path on the host running Codex, or press Enter to use Application Default Credentials (ADC).", + "Enter an absolute file path on the host running aKode, or press Enter to use Application Default Credentials (ADC).", Some((&self.credential_file, " Credential file (optional): ", "")), ), GcpView::Configuring(_) => ("Validating credentials and saving configuration…", None), diff --git a/codex-rs/tui/src/onboarding/keys.rs b/codex-rs/tui/src/onboarding/keys.rs index d573f47d..4925535b 100644 --- a/codex-rs/tui/src/onboarding/keys.rs +++ b/codex-rs/tui/src/onboarding/keys.rs @@ -1,7 +1,6 @@ //! Fixed shortcuts used before users have had a chance to configure Codex. use crossterm::event::KeyCode; -use crossterm::event::KeyModifiers; use crate::key_hint; use crate::key_hint::KeyBinding; @@ -31,10 +30,3 @@ pub(crate) const QUIT: [KeyBinding; 3] = [ key_hint::ctrl(KeyCode::Char('c')), key_hint::ctrl(KeyCode::Char('d')), ]; -pub(crate) const TOGGLE_ANIMATION: [KeyBinding; 2] = [ - key_hint::ctrl(KeyCode::Char('.')), - KeyBinding::new( - KeyCode::Char('.'), - KeyModifiers::CONTROL.union(KeyModifiers::SHIFT), - ), -]; diff --git a/codex-rs/tui/src/onboarding/onboarding_screen.rs b/codex-rs/tui/src/onboarding/onboarding_screen.rs index 23533f0d..8135b388 100644 --- a/codex-rs/tui/src/onboarding/onboarding_screen.rs +++ b/codex-rs/tui/src/onboarding/onboarding_screen.rs @@ -148,7 +148,6 @@ impl OnboardingScreen { let mut steps: Vec = Vec::new(); steps.push(Step::Welcome(WelcomeWidget::new( !matches!(login_status, LoginStatus::NotAuthenticated), - tui.frame_requester(), local_settings.tui.animations && local_settings.tui.effects.welcome, ))); #[cfg(target_os = "windows")] diff --git a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gateway_tests__gateway_sign_in_menu.snap b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gateway_tests__gateway_sign_in_menu.snap index 513e7133..dcbf2170 100644 --- a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gateway_tests__gateway_sign_in_menu.snap +++ b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gateway_tests__gateway_sign_in_menu.snap @@ -3,7 +3,7 @@ source: tui/src/onboarding/gateway_tests.rs assertion_line: 40 expression: "screen(&widget, 8)" --- - Choose how you want to use Codex. + Choose how you want to use aKode. > 1. Use an OpenAI API key 2. Use Amazon Bedrock diff --git a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__gcp_credentials_entry.snap b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__gcp_credentials_entry.snap index 307326b1..5b027895 100644 --- a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__gcp_credentials_entry.snap +++ b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__gcp_credentials_entry.snap @@ -4,7 +4,7 @@ expression: terminal.backend().to_string() --- > Set up Google Cloud Vertex AI - Enter an absolute file path on the host running Codex, or press Enter to + Enter an absolute file path on the host running aKode, or press Enter to use Application Default Credentials (ADC). Credential file (optional): diff --git a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__gcp_setup_error_narrow.snap b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__gcp_setup_error_narrow.snap index 059a661d..4f3b8d35 100644 --- a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__gcp_setup_error_narrow.snap +++ b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__gcp_setup_error_narrow.snap @@ -5,7 +5,7 @@ expression: terminal.backend().to_string() > Set up Google Cloud Vertex AI Enter an absolute file path on the -host running Codex, or press Enter to +host running aKode, or press Enter to use Application Default Credentials (ADC). diff --git a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__gcp_sign_in_menu.snap b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__gcp_sign_in_menu.snap index 21c958d6..6e6c3735 100644 --- a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__gcp_sign_in_menu.snap +++ b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__gcp_sign_in_menu.snap @@ -3,7 +3,7 @@ source: tui/src/onboarding/gcp_tests.rs assertion_line: 34 expression: terminal.backend().to_string() --- - Choose how you want to use Codex. + Choose how you want to use aKode. > 1. Use an OpenAI API key Pay for what you use diff --git a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__gcp_sign_in_menu_short.snap b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__gcp_sign_in_menu_short.snap index 4db82c36..25f7458b 100644 --- a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__gcp_sign_in_menu_short.snap +++ b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__gcp_sign_in_menu_short.snap @@ -3,7 +3,7 @@ source: tui/src/onboarding/gcp_tests.rs assertion_line: 34 expression: terminal.backend().to_string() --- - Choose how you want to use Codex. + Choose how you want to use aKode. 1. Use an OpenAI API key 2. Use Amazon Bedrock diff --git a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__sign_in_menu_short_without_cloud_wizards.snap b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__sign_in_menu_short_without_cloud_wizards.snap index 7a7c8040..ff84e199 100644 --- a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__sign_in_menu_short_without_cloud_wizards.snap +++ b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__auth__gcp_tests__sign_in_menu_short_without_cloud_wizards.snap @@ -3,7 +3,7 @@ source: tui/src/onboarding/gcp_tests.rs assertion_line: 34 expression: terminal.backend().to_string() --- - Connect an API key to use Codex. + Connect an API key to use aKode. > 1. Use an OpenAI API key Pay for what you use diff --git a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__bedrock__tests__gov_cloud_warning.snap b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__bedrock__tests__gov_cloud_warning.snap index 9ac2ef79..0e0ac7e3 100644 --- a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__bedrock__tests__gov_cloud_warning.snap +++ b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__bedrock__tests__gov_cloud_warning.snap @@ -2,9 +2,9 @@ source: tui/src/onboarding/bedrock_tests.rs expression: render_visible(&state) --- -Using Codex with AWS GovCloud +Using aKode with AWS GovCloud -You are using Codex with AWS GovCloud. Please ensure you or your +You are using aKode with AWS GovCloud. Please ensure you or your administrator have read the application configuration and security guidance before proceeding. diff --git a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__bedrock__tests__gov_cloud_warning_short.snap b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__bedrock__tests__gov_cloud_warning_short.snap index 43f5fab0..3f03a578 100644 --- a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__bedrock__tests__gov_cloud_warning_short.snap +++ b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__bedrock__tests__gov_cloud_warning_short.snap @@ -2,9 +2,9 @@ source: tui/src/onboarding/bedrock_tests.rs expression: initial --- -Using Codex with AWS +Using aKode with AWS GovCloud -You are using Codex with +You are using aKode with > Acknowledge ↑/↓ scroll · enter diff --git a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__directory_change_consent_can_keep_current_directory.snap b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__directory_change_consent_can_keep_current_directory.snap index 802d9e87..c11baf7f 100644 --- a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__directory_change_consent_can_keep_current_directory.snap +++ b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__directory_change_consent_can_keep_current_directory.snap @@ -7,7 +7,7 @@ expression: terminal.backend() Folder access /workspace/project - Trust this folder? Codex can read, edit, and run files here, + Trust this folder? aKode can read, edit, and run files here, subject to your permission settings. Folder settings can run code automatically, even without a model request. Continue only if you trust these files. Your trust decision will be saved. diff --git a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__long_checkout_40x13.snap b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__long_checkout_40x13.snap index 642ee186..11bcd2d7 100644 --- a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__long_checkout_40x13.snap +++ b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__long_checkout_40x13.snap @@ -4,7 +4,7 @@ expression: "terminal.backend().to_string().replace('\\\\', \"/\")" --- Folder access workspace/…/repository - Trust this folder? Codex can read, + Trust this folder? aKode can read, edit, and run files here, subject to your permission settings. Folder settings can run code automatically, diff --git a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__long_repository_root_40x17.snap b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__long_repository_root_40x17.snap index 38aa66c2..00db8388 100644 --- a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__long_repository_root_40x17.snap +++ b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__long_repository_root_40x17.snap @@ -8,7 +8,7 @@ expression: "terminal.backend().to_string().replace('\\\\', \"/\")" Git project. Trusting will apply to the repository root: workspace/…/repository - Trust this folder? Codex can read, + Trust this folder? aKode can read, edit, and run files here, subject to your permission settings. Folder settings can run code automatically, diff --git a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__only_repository_root_fits_40x16.snap b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__only_repository_root_fits_40x16.snap index 46067fa6..a6b5b70e 100644 --- a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__only_repository_root_fits_40x16.snap +++ b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__only_repository_root_fits_40x16.snap @@ -7,7 +7,7 @@ expression: "terminal.backend().to_string().replace('\\\\', \"/\")" Git project. Trusting will apply to the repository root: workspace/…/repository - Trust this folder? Codex can read, + Trust this folder? aKode can read, edit, and run files here, subject to your permission settings. Folder settings can run code automatically, diff --git a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__renders_snapshot_for_git_repo.snap b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__renders_snapshot_for_git_repo.snap index 1c94e842..8a2eb925 100644 --- a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__renders_snapshot_for_git_repo.snap +++ b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__renders_snapshot_for_git_repo.snap @@ -6,7 +6,7 @@ expression: terminal.backend() Folder access /workspace/project - Trust this folder? Codex can read, edit, and run files here, + Trust this folder? aKode can read, edit, and run files here, subject to your permission settings. Folder settings can run code automatically, even without a model request. Continue only if you trust these files. Your trust decision will be saved. diff --git a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__renders_snapshot_for_remote_git_subdirectory.snap b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__renders_snapshot_for_remote_git_subdirectory.snap index 09f1dd6f..f728264f 100644 --- a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__renders_snapshot_for_remote_git_subdirectory.snap +++ b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__renders_snapshot_for_remote_git_subdirectory.snap @@ -10,7 +10,7 @@ expression: "terminal.backend().to_string().lines().map(str::trim_end).collect:: apply to the repository root: /srv/remote/project - Trust this folder? Codex can read, edit, and run files here, + Trust this folder? aKode can read, edit, and run files here, subject to your permission settings. Folder settings can run code automatically, even without a model request. Continue only if you trust these files. Your trust decision will be saved. diff --git a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__renders_snapshot_for_trust_error.snap b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__renders_snapshot_for_trust_error.snap index fc61829f..9776be15 100644 --- a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__renders_snapshot_for_trust_error.snap +++ b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__trust_directory__tests__renders_snapshot_for_trust_error.snap @@ -6,7 +6,7 @@ expression: terminal.backend() Folder access /workspace/project - Trust this folder? Codex can read, edit, and run files here, + Trust this folder? aKode can read, edit, and run files here, subject to your permission settings. Folder settings can run code automatically, even without a model request. Continue only if you trust these files. Your trust decision will be saved. diff --git a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__welcome__tests__welcome_logo_160x48.snap b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__welcome__tests__welcome_logo_160x48.snap index b4f744e2..b10408af 100644 --- a/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__welcome__tests__welcome_logo_160x48.snap +++ b/codex-rs/tui/src/onboarding/snapshots/codex_tui__onboarding__welcome__tests__welcome_logo_160x48.snap @@ -2,24 +2,11 @@ source: tui/src/onboarding/welcome.rs expression: visible.trim_end() --- - ⢀⣀⣠⣤⣤⣤⣤⣤⣤⣀⣀ - ⢀⣤⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣤⡀ - ⢀⣠⣾⣿⣿⣿⣿⡿⠟⠛⠋⠉⠉⠙⠛⠛⠿⣿⣿⣿⣿⣿⣷⡄ - ⣠⣾⣿⣿⣿⠿⠋ ⠉⠛⣿⣿⣿⣿⣷⡀ - ⣰⣿⣿⣿⡟⠁ ⠹⣿⣿⣿⣿⡄ - ⣼⣿⣿⣿⠟ ⣀⣤⡀ ⠈⢿⣿⣿⣷⡀ - ⢠⣿⣿⣿⡟ ⣿⣿⣿⣄ ⠘⣿⣿⣿⣧ - ⢸⣿⣿⣿⠁ ⠙⣿⣿⣿⣆ ⢿⣿⣿⣿ - ⢾⣿⣿⣿ ⢸⣿⣿⣿⠆ ⢸⣿⣿⣿⠆ - ⣾⣿⣿⣿ ⣠⣿⣿⣿⠏ ⢀⣀⣀⣀⣀⣀⣀⡀ ⢸⣿⣿⣿ - ⠸⣿⣿⣿⡆ ⢰⣿⣿⣿⠇ ⣿⣿⣿⣿⣿⣿⣿⣿⡆ ⢀⣿⣿⣿⡟ - ⢻⣿⣿⣿⣄ ⠉⠛⠁ ⠙⠛⠛⠛⠛⠛⠛⠋ ⢀⣼⣿⣿⣿⠃ - ⠈⢻⣿⣿⣿⣦⡀ ⣠⣾⣿⣿⣿⠇ - ⠻⣿⣿⣿⣿⣤⣀ ⢀⣠⣾⣿⣿⣿⡿⠃ - ⠈⠻⣿⣿⣿⣿⣷⣶⣤⣄⣀⣀⣀⢀⣀⣠⣤⣴⣿⣿⣿⣿⣿⠛ - ⠙⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠋ - ⠉⠙⠛⠿⠿⠿⠿⠿⠿⠿⠛⠋⠁ + █████╗ ██╗ ██╗ ██████╗ ██████╗ ███████╗ + ▄▄████▄▄ ██╔══██╗██║ ██╔╝██╔═══██╗██╔══██╗██╔════╝ + ██▀▀██▀▀██ ███████║█████╔╝ ██║ ██║██║ ██║█████╗ + ██▄▄██▄▄██ ██╔══██║██╔═██╗ ██║ ██║██║ ██║██╔══╝ + ██▀████▀██ ██║ ██║██║ ██╗╚██████╔╝██████╔╝███████╗ + ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ - - - Welcome to Codex, OpenAI's command-line coding agent + Benvenuto in aKode · il tuo agente di coding locale diff --git a/codex-rs/tui/src/onboarding/trust_directory.rs b/codex-rs/tui/src/onboarding/trust_directory.rs index 64ea9ce9..a8c9edeb 100644 --- a/codex-rs/tui/src/onboarding/trust_directory.rs +++ b/codex-rs/tui/src/onboarding/trust_directory.rs @@ -67,7 +67,7 @@ impl WidgetRef for &TrustDirectoryWidget { Trusted project folders can still contribute settings. Skills still load, \ and tools follow your permission settings. Opening will not change saved trust." } else { - "Trust this folder? Codex can read, edit, and run files here, subject to \ + "Trust this folder? aKode can read, edit, and run files here, subject to \ your permission settings. Folder settings can run code automatically, \ even without a model request. Continue only if you trust these files. \ Your trust decision will be saved." diff --git a/codex-rs/tui/src/onboarding/welcome.rs b/codex-rs/tui/src/onboarding/welcome.rs index 9c9e7b8f..c3906f45 100644 --- a/codex-rs/tui/src/onboarding/welcome.rs +++ b/codex-rs/tui/src/onboarding/welcome.rs @@ -1,8 +1,7 @@ //! Shared welcome header for the existing sign-in and Bedrock onboarding pickers. -//! The logo occupies a fixed stage so its motion never shifts the choices below it. +//! The static aKode splash sits above the choices; small viewports show only the welcome line. use crossterm::event::KeyEvent; -use crossterm::event::KeyEventKind; use ratatui::buffer::Buffer; use ratatui::layout::Rect; use ratatui::prelude::Widget; @@ -13,62 +12,36 @@ use ratatui::widgets::Paragraph; use ratatui::widgets::WidgetRef; use ratatui::widgets::Wrap; use std::cell::Cell; -use std::cell::RefCell; -use crate::empty_state_animation::EmptyStateAnimation; +use crate::branding; use crate::empty_state_animation::Presentation; -use crate::key_hint::KeyBindingListExt; -use crate::onboarding::keys; use crate::onboarding::onboarding_screen::KeyboardHandler; use crate::onboarding::onboarding_screen::StepStateProvider; -use crate::tui::FrameRequester; use super::onboarding_screen::StepState; -const MIN_ANIMATION_HEIGHT: u16 = 41; -const MIN_ANIMATION_WIDTH: u16 = 64; -const ANIMATION_WIDTH: u16 = 60; -const ANIMATION_HEIGHT: u16 = 21; +/// Below this viewport the splash would crowd out the onboarding choices. +const MIN_LOGO_HEIGHT: u16 = 24; +const INDENT: &str = " "; pub(crate) struct WelcomeWidget { pub is_logged_in: bool, - animation: RefCell, - request_frame: FrameRequester, - animations_enabled: bool, + show_logo: bool, presentation: Cell, focused: Cell, layout_area: Cell>, } impl KeyboardHandler for WelcomeWidget { - /// Replay the welcome animation when the existing logo shortcut fires. - /// - /// The key list includes compatibility variants for terminals that report - /// modifier bits differently. - fn handle_key_event(&mut self, key_event: KeyEvent) { - if !self.animations_enabled { - return; - } - if key_event.kind == KeyEventKind::Press && keys::TOGGLE_ANIMATION.is_pressed(key_event) { - self.animation.get_mut().start_fresh(); - self.request_frame.schedule_frame(); - } - } + /// The splash is static, so the welcome step has no keys of its own. + fn handle_key_event(&mut self, _key_event: KeyEvent) {} } impl WelcomeWidget { - pub(crate) fn new( - is_logged_in: bool, - request_frame: FrameRequester, - animations_enabled: bool, - ) -> Self { - let mut animation = EmptyStateAnimation::default(); - animation.start_fresh(); + pub(crate) fn new(is_logged_in: bool, show_logo: bool) -> Self { Self { is_logged_in, - animation: RefCell::new(animation), - request_frame, - animations_enabled, + show_logo, presentation: Cell::new(Presentation::Animated), focused: Cell::new(/*value*/ true), layout_area: Cell::new(None), @@ -80,9 +53,6 @@ impl WelcomeWidget { } pub(crate) fn set_presentation(&self, presentation: Presentation) { - if presentation == Presentation::Hidden { - self.animation.borrow_mut().pause_clock(); - } self.presentation.set(presentation); } @@ -95,40 +65,28 @@ impl WidgetRef for &WelcomeWidget { fn render_ref(&self, area: Rect, buf: &mut Buffer) { Clear.render(area, buf); let layout_area = self.layout_area.get().unwrap_or(area); - // Skip the animation entirely when the viewport is too small so we don't clip frames. - let show_animation = self.animations_enabled + let show_logo = self.show_logo && self.presentation.get() != Presentation::Hidden - && layout_area.height >= MIN_ANIMATION_HEIGHT - && layout_area.width >= MIN_ANIMATION_WIDTH; + && layout_area.height >= MIN_LOGO_HEIGHT; + let faded = !self.focused.get() || self.presentation.get() == Presentation::Faded; - let presentation = if !show_animation { - Presentation::Hidden - } else if !self.focused.get() { - Presentation::Faded + let lines: Vec = if show_logo { + let width = usize::from(area.width).saturating_sub(INDENT.len()); + branding::splash_lines(width, /*compact*/ true) + .into_iter() + .map(|line| { + let mut spans = vec![INDENT.into()]; + spans.extend(line.spans); + let line = Line::from(spans); + if faded { line.dim() } else { line } + }) + .collect() } else { - self.presentation.get() + vec![Line::from(vec![ + INDENT.into(), + branding::WELCOME_LINE.into(), + ])] }; - let stage = Rect::new(area.x, area.y, ANIMATION_WIDTH, ANIMATION_HEIGHT); - if let Some(delay) = self - .animation - .borrow_mut() - .render_in(stage, buf, presentation) - { - self.request_frame.schedule_frame_in(delay); - } - - let logo_rows = if show_animation { - ANIMATION_HEIGHT + 1 - } else { - 0 - }; - let mut lines: Vec = vec![Line::default(); usize::from(logo_rows)]; - lines.push(Line::from(vec![ - " ".into(), - "Welcome to ".into(), - "Codex".bold(), - ", OpenAI's command-line coding agent".into(), - ])); Paragraph::new(lines) .wrap(Wrap { trim: false }) @@ -163,47 +121,36 @@ mod tests { } #[test] - fn welcome_renders_animation_on_first_draw() { - let widget = WelcomeWidget::new( - /*is_logged_in*/ false, - FrameRequester::test_dummy(), - /*animations_enabled*/ true, - ); - let area = Rect::new(0, 0, MIN_ANIMATION_WIDTH, MIN_ANIMATION_HEIGHT); + fn welcome_renders_logo_on_first_draw() { + let widget = WelcomeWidget::new(/*is_logged_in*/ false, /*show_logo*/ true); + let area = Rect::new(0, 0, /*width*/ 64, MIN_LOGO_HEIGHT); let mut buf = Buffer::empty(area); (&widget).render_ref(area, &mut buf); - let welcome_row = row_containing(&buf, "Welcome"); - assert_eq!(welcome_row, Some(ANIMATION_HEIGHT + 1)); + // Six banner rows and a spacer precede the welcome line. + let welcome_row = row_containing(&buf, "Benvenuto"); + assert_eq!(welcome_row, Some(7)); + assert_eq!(row_containing(&buf, "╚═╝"), Some(5)); widget.set_focused(/*focused*/ false); (&widget).render_ref(area, &mut buf); - assert_eq!(row_containing(&buf, "Welcome"), welcome_row); + assert_eq!(row_containing(&buf, "Benvenuto"), welcome_row); } #[test] - fn welcome_skips_animation_below_height_breakpoint() { - let widget = WelcomeWidget::new( - /*is_logged_in*/ false, - FrameRequester::test_dummy(), - /*animations_enabled*/ true, - ); - let area = Rect::new(0, 0, MIN_ANIMATION_WIDTH, MIN_ANIMATION_HEIGHT - 1); + fn welcome_skips_logo_below_height_breakpoint() { + let widget = WelcomeWidget::new(/*is_logged_in*/ false, /*show_logo*/ true); + let area = Rect::new(0, 0, /*width*/ 64, MIN_LOGO_HEIGHT - 1); let mut buf = Buffer::empty(area); (&widget).render_ref(area, &mut buf); - let welcome_row = row_containing(&buf, "Welcome"); + let welcome_row = row_containing(&buf, "Benvenuto"); assert_eq!(welcome_row, Some(0)); } #[test] fn welcome_logo_layout() { let (width, height) = (160, 48); - let widget = WelcomeWidget::new( - /*is_logged_in*/ false, - FrameRequester::test_dummy(), - /*animations_enabled*/ true, - ); - // The first focused draw shows the intact logo at exactly zero elapsed time. + let widget = WelcomeWidget::new(/*is_logged_in*/ false, /*show_logo*/ true); let area = Rect::new(/*x*/ 0, /*y*/ 0, width, height); let mut buf = Buffer::empty(area); (&widget).render_ref(area, &mut buf); diff --git a/codex-rs/tui/src/permission_discovery.rs b/codex-rs/tui/src/permission_discovery.rs index 91153c6e..ebb64a09 100644 --- a/codex-rs/tui/src/permission_discovery.rs +++ b/codex-rs/tui/src/permission_discovery.rs @@ -173,7 +173,7 @@ fn discovery_error(error: TypedRequestError) -> String { || source.message.contains("configRequirements/read") || source.message.contains("config/read")))) { - return "This server does not support permission discovery. Upgrade the Codex server to use this menu.".to_string(); + return "This server does not support permission discovery. Upgrade the aKode server to use this menu.".to_string(); } format!("Failed to load permissions: {error}") } diff --git a/codex-rs/tui/src/pets/image_protocol.rs b/codex-rs/tui/src/pets/image_protocol.rs index 38f387eb..7a9940c6 100644 --- a/codex-rs/tui/src/pets/image_protocol.rs +++ b/codex-rs/tui/src/pets/image_protocol.rs @@ -71,16 +71,16 @@ impl PetImageUnsupportedReason { fn message(self) -> &'static str { match self { Self::Tmux => { - "Pets are unavailable in this tmux pane. Use fullscreen Codex with allow-passthrough all, or run Codex outside tmux." + "Pets are unavailable in this tmux pane. Use fullscreen aKode with allow-passthrough all, or run aKode outside tmux." } Self::Zellij => { - "Pets are disabled in Zellij. Terminal images don’t stay reliably pane-local in Zellij. Run Codex outside Zellij to use pets." + "Pets are disabled in Zellij. Terminal images don’t stay reliably pane-local in Zellij. Run aKode outside Zellij to use pets." } Self::Iterm2TooOld => { "Pets require iTerm2 3.6 or newer. Upgrade iTerm2 to use terminal pets." } Self::Terminal => { - "Pets aren’t available in this terminal. Terminal pets need image support, and this terminal environment doesn’t expose a supported image protocol. Try a terminal with Kitty graphics or Sixel support, or run Codex outside tmux." + "Pets aren’t available in this terminal. Terminal pets need image support, and this terminal environment doesn’t expose a supported image protocol. Try a terminal with Kitty graphics or Sixel support, or run aKode outside tmux." } } } diff --git a/codex-rs/tui/src/session_archive_commands.rs b/codex-rs/tui/src/session_archive_commands.rs index ff82b6a7..ffaa11b8 100644 --- a/codex-rs/tui/src/session_archive_commands.rs +++ b/codex-rs/tui/src/session_archive_commands.rs @@ -83,7 +83,7 @@ pub async fn run_session_archive_command( target: String, options: SessionArchiveCommandOptions, ) -> Result { - let codex_home = find_codex_home().wrap_err("failed to find Codex home")?; + let codex_home = find_codex_home().wrap_err("failed to find aKode home")?; let mut app_server = start_app_server_for_session_command(options, codex_home.to_path_buf()).await?; run_session_archive_action_with_app_server( diff --git a/codex-rs/tui/src/session_queue_commands.rs b/codex-rs/tui/src/session_queue_commands.rs index dcddb749..87b69284 100644 --- a/codex-rs/tui/src/session_queue_commands.rs +++ b/codex-rs/tui/src/session_queue_commands.rs @@ -41,7 +41,7 @@ pub async fn run_session_queue_command( "--no-daemon cannot be used with codex queue. Queuing must discover the shared server to avoid writing through a separate server." )); } - let codex_home = find_codex_home().wrap_err("failed to find Codex home")?; + let codex_home = find_codex_home().wrap_err("failed to find aKode home")?; let explicit_remote = options.explicit_remote_endpoint.is_some(); let mut app_server = start_app_server_for_session_command(options, codex_home.to_path_buf()).await?; diff --git a/codex-rs/tui/src/slash_command.rs b/codex-rs/tui/src/slash_command.rs index 141da0da..96ffe863 100644 --- a/codex-rs/tui/src/slash_command.rs +++ b/codex-rs/tui/src/slash_command.rs @@ -89,10 +89,10 @@ impl SlashCommand { /// User-visible description shown in the popup. pub fn description(self) -> &'static str { match self { - SlashCommand::Config => "configure Codex preferences", + SlashCommand::Config => "configure aKode preferences", SlashCommand::Feedback => "save a feedback report with logs locally", SlashCommand::New => "start a new chat during a conversation", - SlashCommand::Init => "create an AGENTS.md file with instructions for Codex", + SlashCommand::Init => "create an AGENTS.md file with instructions for aKode", SlashCommand::Compact => "summarize conversation to prevent hitting the context limit", SlashCommand::Recap => "summarize the current conversation now", SlashCommand::Review => "review my current changes and find issues", @@ -104,14 +104,14 @@ impl SlashCommand { SlashCommand::Fork => "fork the current chat", SlashCommand::Worktree => "start or continue a conversation in a new worktree", SlashCommand::App => "continue this session in the Desktop app", - SlashCommand::Quit | SlashCommand::Exit => "exit Codex", + SlashCommand::Quit | SlashCommand::Exit => "exit aKode", SlashCommand::Copy => "copy the last response or part of it", SlashCommand::Export => "export the conversation as markdown", SlashCommand::Raw => "toggle raw scrollback mode for copy-friendly terminal selection", SlashCommand::Tui => "choose the TUI mode for the next launch", SlashCommand::Diff => "show git diff (including untracked files)", SlashCommand::Mention => "mention a file", - SlashCommand::Skills => "use skills to improve how Codex performs specific tasks", + SlashCommand::Skills => "use skills to improve how aKode performs specific tasks", SlashCommand::Import => "import setup, this project, and recent chats from Claude Code", SlashCommand::Hooks => "view and manage lifecycle hooks", SlashCommand::Daemon => "Manage the local background server", @@ -139,7 +139,7 @@ impl SlashCommand { SlashCommand::Agents => "open the agent command center", SlashCommand::MultiAgents => "switch between this session's subagents", SlashCommand::Side | SlashCommand::Btw => "start a side conversation", - SlashCommand::Permissions => "choose what Codex is allowed to do", + SlashCommand::Permissions => "choose what aKode is allowed to do", SlashCommand::Keymap => "remap TUI shortcuts", SlashCommand::Vim => "toggle Vim mode for the composer", SlashCommand::ElevateSandbox => "set up elevated agent sandbox", @@ -148,7 +148,7 @@ impl SlashCommand { SlashCommand::Memories => "configure memory use and generation", SlashCommand::Mcp => "list MCP tools; use /mcp verbose or /mcp login ", SlashCommand::Plugins => "browse plugins", - SlashCommand::Logout => "log out of Codex", + SlashCommand::Logout => "log out of aKode", SlashCommand::Rollout => "print the rollout file path", SlashCommand::TestApproval => "test approval request", } diff --git a/codex-rs/tui/src/snapshots/codex_tui__app__tests__clear_ui_after_long_transcript_fresh_header_only.snap b/codex-rs/tui/src/snapshots/codex_tui__app__tests__clear_ui_after_long_transcript_fresh_header_only.snap index b11e54d2..3dca9478 100644 --- a/codex-rs/tui/src/snapshots/codex_tui__app__tests__clear_ui_after_long_transcript_fresh_header_only.snap +++ b/codex-rs/tui/src/snapshots/codex_tui__app__tests__clear_ui_after_long_transcript_fresh_header_only.snap @@ -4,5 +4,7 @@ assertion_line: 5874 expression: rendered --- - >_ OpenAI Codex (v) - /tmp/project + ▄▄████▄▄ aKode v + ██▀▀██▀▀██ gpt-test · OpenAI + ██▄▄██▄▄██ /tmp/project + ██▀████▀██ diff --git a/codex-rs/tui/src/snapshots/codex_tui__app__tests__patch_approval_tests__patch_approval_expanded_inline.snap b/codex-rs/tui/src/snapshots/codex_tui__app__tests__patch_approval_tests__patch_approval_expanded_inline.snap index 596fac23..96c8a2d9 100644 --- a/codex-rs/tui/src/snapshots/codex_tui__app__tests__patch_approval_tests__patch_approval_expanded_inline.snap +++ b/codex-rs/tui/src/snapshots/codex_tui__app__tests__patch_approval_tests__patch_approval_expanded_inline.snap @@ -23,6 +23,6 @@ expression: normalize_snapshot_paths(expanded) › 1. Yes, proceed (y) 2. Yes, and don't ask again for these files (a) - 3. No, and tell Codex what to do differently (esc) + 3. No, and tell aKode what to do differently (esc) Press enter to confirm or esc to cancel diff --git a/codex-rs/tui/src/snapshots/codex_tui__app__tests__replayed_file_change_approval.snap b/codex-rs/tui/src/snapshots/codex_tui__app__tests__replayed_file_change_approval.snap index 129afca2..e22d8327 100644 --- a/codex-rs/tui/src/snapshots/codex_tui__app__tests__replayed_file_change_approval.snap +++ b/codex-rs/tui/src/snapshots/codex_tui__app__tests__replayed_file_change_approval.snap @@ -10,6 +10,6 @@ expression: rendered › 1. Yes, proceed (y) 2. Yes, and don't ask again for these files (a) - 3. No, and tell Codex what to do differently (esc) + 3. No, and tell aKode what to do differently (esc) Press enter to confirm or esc to cancel diff --git a/codex-rs/tui/src/snapshots/codex_tui__app__tests__selected_unloaded_subagent_V1.snap b/codex-rs/tui/src/snapshots/codex_tui__app__tests__selected_unloaded_subagent_V1.snap index 9e40dcd3..9d394aad 100644 --- a/codex-rs/tui/src/snapshots/codex_tui__app__tests__selected_unloaded_subagent_V1.snap +++ b/codex-rs/tui/src/snapshots/codex_tui__app__tests__selected_unloaded_subagent_V1.snap @@ -3,6 +3,6 @@ source: tui/src/app/tests.rs assertion_line: 2769 expression: "render_bottom_popup(&app.chat_widget, 80)" --- -› Ask Codex to do anything +› Ask aKode to do anything GPT-6.1-Sol default · /tmp/project · child-0 [worker] · ← for agents diff --git a/codex-rs/tui/src/snapshots/codex_tui__app_server_session__tests__resumed_plan_mode.snap b/codex-rs/tui/src/snapshots/codex_tui__app_server_session__tests__resumed_plan_mode.snap index cf58c4de..e50dcce3 100644 --- a/codex-rs/tui/src/snapshots/codex_tui__app_server_session__tests__resumed_plan_mode.snap +++ b/codex-rs/tui/src/snapshots/codex_tui__app_server_session__tests__resumed_plan_mode.snap @@ -2,6 +2,6 @@ source: tui/src/app_server_session.rs expression: "crate::chatwidget::tests::helpers::render_bottom_popup(&chat, 40)" --- -› Ask Codex to do anything +› Ask aKode to do anything GPT-5.5 default · /tmp/pr… Plan mode diff --git a/codex-rs/tui/src/snapshots/codex_tui__daemon_recovery__tests__unmanaged_daemon_recovery_menu.snap b/codex-rs/tui/src/snapshots/codex_tui__daemon_recovery__tests__unmanaged_daemon_recovery_menu.snap index 3e9e4c7f..66277f5f 100644 --- a/codex-rs/tui/src/snapshots/codex_tui__daemon_recovery__tests__unmanaged_daemon_recovery_menu.snap +++ b/codex-rs/tui/src/snapshots/codex_tui__daemon_recovery__tests__unmanaged_daemon_recovery_menu.snap @@ -16,5 +16,5 @@ expression: text 1. Run without daemon this time - Restart with these settings (disabled) This server is not managed by Codex. + Restart with these settings (disabled) This server is not managed by aKode. › 2. Cancel diff --git a/codex-rs/tui/src/snapshots/codex_tui__empty_state_animation__tests__first_screen_replay_fade.snap b/codex-rs/tui/src/snapshots/codex_tui__empty_state_animation__tests__first_screen_replay_fade.snap deleted file mode 100644 index 4e974393..00000000 --- a/codex-rs/tui/src/snapshots/codex_tui__empty_state_animation__tests__first_screen_replay_fade.snap +++ /dev/null @@ -1,8 +0,0 @@ ---- -source: tui/src/empty_state_animation_tests.rs -assertion_line: 171 -expression: "fade_frames.join(\"\\n\")" ---- -0ms: ⣀ Rgb(195, 201, 206) -200ms: ⣀ Rgb(121, 126, 136) -400ms: ⣀ Rgb(47, 52, 67) diff --git a/codex-rs/tui/src/snapshots/codex_tui__empty_state_animation__tests__first_screen_splash.snap b/codex-rs/tui/src/snapshots/codex_tui__empty_state_animation__tests__first_screen_splash.snap new file mode 100644 index 00000000..b6b55a81 --- /dev/null +++ b/codex-rs/tui/src/snapshots/codex_tui__empty_state_animation__tests__first_screen_splash.snap @@ -0,0 +1,34 @@ +--- +source: tui/src/empty_state_animation_tests.rs +assertion_line: 128 +expression: "frames.join(\"\\n\\n\")" +--- +width 80: + + + █████╗ ██╗ ██╗ ██████╗ ██████╗ ███████╗ + ▄▄████▄▄ ██╔══██╗██║ ██╔╝██╔═══██╗██╔══██╗██╔════╝ + ██▀▀██▀▀██ ███████║█████╔╝ ██║ ██║██║ ██║█████╗ + ██▄▄██▄▄██ ██╔══██║██╔═██╗ ██║ ██║██║ ██║██╔══╝ + ██▀████▀██ ██║ ██║██║ ██╗╚██████╔╝██████╔╝███████╗ + ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ + + Benvenuto in aKode · il tuo agente di coding locale + + + +width 56: + + + + + + Benvenuto in aKode · il tuo agente di coding locale + + + + + + + +width 40: diff --git a/codex-rs/tui/src/snapshots/codex_tui__empty_state_animation__tests__onboarding_settled_logo.snap b/codex-rs/tui/src/snapshots/codex_tui__empty_state_animation__tests__onboarding_settled_logo.snap deleted file mode 100644 index 3a68cdb2..00000000 --- a/codex-rs/tui/src/snapshots/codex_tui__empty_state_animation__tests__onboarding_settled_logo.snap +++ /dev/null @@ -1,18 +0,0 @@ ---- -source: tui/src/empty_state_animation_tests.rs -expression: "buffer.content.chunks(usize::from(area.width)).map(|row|\nrow.iter().map(|cell|\ncell.symbol()).collect::().trim_end().to_owned()).collect::>().join(\"\\n\")" ---- - ⣠⣴⣶⣿⣿⣷⣶⣤⣀⣀⣀⣀⣀ - ⢠⣾⣿⡿⠟⠛⠉⣻⣿⣿⣿⣿⣿⣿⣿⣿⣦⡀ - ⢀⣀⣿⣿⡟⢀⣠⣶⣿⣿⠿⠛⢉⣀⣀ ⠙⢿⣿⣿⣆ - ⢀⣾⣿⣿⣿⣿ ⢸⣿⡿⠋⢁⣤⣶⣿⣿⣿⣿⣦⣄⣻⣿⣿ - ⢠⣿⣿⡟⢹⣿⣿ ⢸⣿⣷⣾⣿⣿⣿⣯⣀⠉⠛⢿⣿⣿⣿⣿ - ⣼⣿⣿ ⢸⣿⣿ ⢸⣿⡿⠛⠁⠈⠛⢿⣿⣿⣦⣄⡈⠙⢿⣿⣷⡀ - ⢸⣿⣿⡀⠸⣿⣿⣶⣼⣿⡇ ⢸⣿⣟⠿⣿⣿⡆ ⢻⣿⣧ - ⢻⣿⣿⣄⡈⠙⠻⣿⣿⣷⣤⡀⢀⣤⣾⣿⣿ ⢸⣿⡇ ⣸⣿⣿ - ⣿⣿⣿⣿⣷⣦⣀⠉⣻⣿⣿⣿⡿⢿⣿⣿ ⢸⣿⡇⣠⣿⣿⡟ - ⢿⣿⣧⠉⠻⣿⣿⣿⣿⡿⠛⠉⣀⣼⣿⣿ ⣸⣿⣿⣿⣿⠟ - ⠘⢿⣿⣷⣄⡀⠉⠉⢁⣠⣴⣿⣿⡿⠟⠋⢀⣿⣿⡟⠋⠁ - ⠈⠛⢿⣿⣿⣿⣿⣿⣿⣿⣛⣉⣀⣀⣴⣿⣿⡟ - ⠈⠉⠉⠉⠙⠻⣿⣿⣿⣿⣿⣿⠿⠋ - ⠈⠉⠉ diff --git a/codex-rs/tui/src/snapshots/codex_tui__keymap_setup__tests__keymap_debug_view_delayed_hint.snap b/codex-rs/tui/src/snapshots/codex_tui__keymap_setup__tests__keymap_debug_view_delayed_hint.snap index 912c0520..86331c3d 100644 --- a/codex-rs/tui/src/snapshots/codex_tui__keymap_setup__tests__keymap_debug_view_delayed_hint.snap +++ b/codex-rs/tui/src/snapshots/codex_tui__keymap_setup__tests__keymap_debug_view_delayed_hint.snap @@ -3,8 +3,8 @@ source: tui/src/keymap_setup.rs expression: rendered --- Keypress Inspector -Press any key to see what Codex receives. Esc is inspected; Ctrl+C closes. +Press any key to see what aKode receives. Esc is inspected; Ctrl+C closes. Still waiting? If nothing changes when you press a key, your terminal is not sending that key to -Codex. Only received keys can be assigned as shortcuts. +aKode. Only received keys can be assigned as shortcuts. Waiting for a keypress... diff --git a/codex-rs/tui/src/snapshots/codex_tui__keymap_setup__tests__keymap_debug_view_initial.snap b/codex-rs/tui/src/snapshots/codex_tui__keymap_setup__tests__keymap_debug_view_initial.snap index 7126a40f..6cebd931 100644 --- a/codex-rs/tui/src/snapshots/codex_tui__keymap_setup__tests__keymap_debug_view_initial.snap +++ b/codex-rs/tui/src/snapshots/codex_tui__keymap_setup__tests__keymap_debug_view_initial.snap @@ -3,7 +3,7 @@ source: tui/src/keymap_setup.rs expression: "render_debug(&view, 80)" --- Keypress Inspector -Press any key to see what Codex receives. Esc is inspected; Ctrl+C closes. -Tip: Codex can only inspect keys your terminal sends. +Press any key to see what aKode receives. Esc is inspected; Ctrl+C closes. +Tip: aKode can only inspect keys your terminal sends. Waiting for a keypress... diff --git a/codex-rs/tui/src/snapshots/codex_tui__keymap_setup__tests__keymap_debug_view_match.snap b/codex-rs/tui/src/snapshots/codex_tui__keymap_setup__tests__keymap_debug_view_match.snap index 4d9554e3..8a62639f 100644 --- a/codex-rs/tui/src/snapshots/codex_tui__keymap_setup__tests__keymap_debug_view_match.snap +++ b/codex-rs/tui/src/snapshots/codex_tui__keymap_setup__tests__keymap_debug_view_match.snap @@ -3,8 +3,8 @@ source: tui/src/keymap_setup.rs expression: rendered --- Keypress Inspector -Press any key to see what Codex receives. Esc is inspected; Ctrl+C closes. -Tip: Codex can only inspect keys your terminal sends. +Press any key to see what aKode receives. Esc is inspected; Ctrl+C closes. +Tip: aKode can only inspect keys your terminal sends. Detected: f8 Config key: f8 diff --git a/codex-rs/tui/src/snapshots/codex_tui__model_migration__tests__model_migration_prompt.snap b/codex-rs/tui/src/snapshots/codex_tui__model_migration__tests__model_migration_prompt.snap index e2eb2013..aee12c8a 100644 --- a/codex-rs/tui/src/snapshots/codex_tui__model_migration__tests__model_migration_prompt.snap +++ b/codex-rs/tui/src/snapshots/codex_tui__model_migration__tests__model_migration_prompt.snap @@ -3,7 +3,7 @@ source: tui/src/model_migration.rs expression: terminal.backend() --- - Codex just got an upgrade. Introducing + aKode just got an upgrade. Introducing gpt-5.1-codex-max. Upgrade to gpt-5.2-codex for the latest and greatest diff --git a/codex-rs/tui/src/snapshots/codex_tui__model_migration__tests__model_migration_prompt_gpt5_family.snap b/codex-rs/tui/src/snapshots/codex_tui__model_migration__tests__model_migration_prompt_gpt5_family.snap index 2cf7a2cc..9653a858 100644 --- a/codex-rs/tui/src/snapshots/codex_tui__model_migration__tests__model_migration_prompt_gpt5_family.snap +++ b/codex-rs/tui/src/snapshots/codex_tui__model_migration__tests__model_migration_prompt_gpt5_family.snap @@ -3,7 +3,7 @@ source: tui/src/model_migration.rs expression: terminal.backend() --- - Codex just got an upgrade. Introducing gpt-5.1. + aKode just got an upgrade. Introducing gpt-5.1. We recommend switching from gpt-5 to gpt-5.1. diff --git a/codex-rs/tui/src/snapshots/codex_tui__startup_draft__layout__tests__owned_startup_layout.snap b/codex-rs/tui/src/snapshots/codex_tui__startup_draft__layout__tests__owned_startup_layout.snap index 6065eb84..7b7a45e4 100644 --- a/codex-rs/tui/src/snapshots/codex_tui__startup_draft__layout__tests__owned_startup_layout.snap +++ b/codex-rs/tui/src/snapshots/codex_tui__startup_draft__layout__tests__owned_startup_layout.snap @@ -4,10 +4,10 @@ expression: "format!(\"cursor={:?}\\n{frame}\",\nlayout.cursor_pos(area)).replac --- cursor=Some((13, 12)) - >_ OpenAI Codex (v) - loading - - + ▄▄████▄▄ aKode v + ██▀▀██▀▀██ loading + ██▄▄██▄▄██ loading + ██▀████▀██ diff --git a/codex-rs/tui/src/snapshots/codex_tui__startup_draft__tests__startup_draft_fresh_session_transitions.snap b/codex-rs/tui/src/snapshots/codex_tui__startup_draft__tests__startup_draft_fresh_session_transitions.snap index a01b3b6d..1f8d4a70 100644 --- a/codex-rs/tui/src/snapshots/codex_tui__startup_draft__tests__startup_draft_fresh_session_transitions.snap +++ b/codex-rs/tui/src/snapshots/codex_tui__startup_draft__tests__startup_draft_fresh_session_transitions.snap @@ -5,8 +5,10 @@ expression: "snapshots.join(\"\\n---\\n\")" resume lookup fallback: before: - >_ OpenAI Codex (v) - loading + ▄▄████▄▄ aKode v + ██▀▀██▀▀██ loading + ██▄▄██▄▄██ loading + ██▀████▀██ Resuming session… › draft while loading @@ -14,8 +16,10 @@ before: after: - >_ OpenAI Codex (v) - loading + ▄▄████▄▄ aKode v + ██▀▀██▀▀██ loading + ██▄▄██▄▄██ loading + ██▀████▀██ › draft while loading @@ -25,8 +29,10 @@ after: fork lookup fallback: before: - >_ OpenAI Codex (v) - loading + ▄▄████▄▄ aKode v + ██▀▀██▀▀██ loading + ██▄▄██▄▄██ loading + ██▀████▀██ Forking session… › draft while loading @@ -34,8 +40,10 @@ before: after: - >_ OpenAI Codex (v) - loading + ▄▄████▄▄ aKode v + ██▀▀██▀▀██ loading + ██▄▄██▄▄██ loading + ██▀████▀██ › draft while loading @@ -47,11 +55,13 @@ before: hidden while picker owns input after: - >_ OpenAI Codex (v) - loading + ▄▄████▄▄ aKode v + ██▀▀██▀▀██ loading + ██▄▄██▄▄██ loading + ██▀████▀██ -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts --- @@ -60,10 +70,12 @@ before: hidden while picker owns input after: - >_ OpenAI Codex (v) - loading + ▄▄████▄▄ aKode v + ██▀▀██▀▀██ loading + ██▄▄██▄▄██ loading + ██▀████▀██ -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts diff --git a/codex-rs/tui/src/snapshots/codex_tui__startup_draft__tests__startup_draft_full_frames.snap b/codex-rs/tui/src/snapshots/codex_tui__startup_draft__tests__startup_draft_full_frames.snap index 9ca3c37d..fab33605 100644 --- a/codex-rs/tui/src/snapshots/codex_tui__startup_draft__tests__startup_draft_full_frames.snap +++ b/codex-rs/tui/src/snapshots/codex_tui__startup_draft__tests__startup_draft_full_frames.snap @@ -5,38 +5,46 @@ expression: "snapshots.join(\"\\n---\\n\")" --- empty (48 columns): - >_ OpenAI Codex (v) - loading + ▄▄████▄▄ aKode v + ██▀▀██▀▀██ loading + ██▄▄██▄▄██ loading + ██▀████▀██ -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts --- configured (48 columns): - >_ OpenAI Codex (v) - workspace + ▄▄████▄▄ aKode v + ██▀▀██▀▀██ loading + ██▄▄██▄▄██ workspace + ██▀████▀██ -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts --- resuming (48 columns): - >_ OpenAI Codex (v) - loading + ▄▄████▄▄ aKode v + ██▀▀██▀▀██ loading + ██▄▄██▄▄██ loading + ██▀████▀██ Resuming session… -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts --- forking (48 columns): - >_ OpenAI Codex (v) - loading + ▄▄████▄▄ aKode v + ██▀▀██▀▀██ loading + ██▄▄██▄▄██ loading + ██▀████▀██ Forking session… › draft while loading @@ -45,8 +53,10 @@ forking (48 columns): --- multiline (48 columns): - >_ OpenAI Codex (v) - loading + ▄▄████▄▄ aKode v + ██▀▀██▀▀██ loading + ██▄▄██▄▄██ loading + ██▀████▀██ › first startup line @@ -56,8 +66,9 @@ multiline (48 columns): --- narrow (18 columns): - >_ OpenAI Codex… - loading + >_ aKode v + loading + loading › first startup diff --git a/codex-rs/tui/src/snapshots/codex_tui__startup_draft__tests__startup_draft_onboarding_transition.snap b/codex-rs/tui/src/snapshots/codex_tui__startup_draft__tests__startup_draft_onboarding_transition.snap index 74e7b7d1..e5edd22f 100644 --- a/codex-rs/tui/src/snapshots/codex_tui__startup_draft__tests__startup_draft_onboarding_transition.snap +++ b/codex-rs/tui/src/snapshots/codex_tui__startup_draft__tests__startup_draft_onboarding_transition.snap @@ -6,10 +6,12 @@ before onboarding: hidden (0x0 viewport) --- after onboarding: - >_ OpenAI Codex (v) - loading + ▄▄████▄▄ aKode v + ██▀▀██▀▀██ loading + ██▄▄██▄▄██ loading + ██▀████▀██ -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts diff --git a/codex-rs/tui/src/snapshots/codex_tui__startup_draft__tests__terminal_app_ssh_startup.snap b/codex-rs/tui/src/snapshots/codex_tui__startup_draft__tests__terminal_app_ssh_startup.snap index ae2fe614..a5691f01 100644 --- a/codex-rs/tui/src/snapshots/codex_tui__startup_draft__tests__terminal_app_ssh_startup.snap +++ b/codex-rs/tui/src/snapshots/codex_tui__startup_draft__tests__terminal_app_ssh_startup.snap @@ -4,8 +4,10 @@ expression: "frames.join(\"\\n---\\n\").replace(crate::version::CODEX_CLI_VERSIO --- terminal_app_over_ssh=false, owned=true - >_ OpenAI Codex (v) - loading + ▄▄████▄▄ aKode v + ██▀▀██▀▀██ loading + ██▄▄██▄▄██ loading + ██▀████▀██ @@ -14,18 +16,18 @@ terminal_app_over_ssh=false, owned=true - - -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts --- terminal_app_over_ssh=true, owned=false - >_ OpenAI Codex (v) - loading + ▄▄████▄▄ aKode v + ██▀▀██▀▀██ loading + ██▄▄██▄▄██ loading + ██▀████▀██ -› Ask Codex to do anything +› Ask aKode to do anything ? for shortcuts diff --git a/codex-rs/tui/src/snapshots/codex_tui__update_prompt__tests__update_picker_selected_28x12.snap b/codex-rs/tui/src/snapshots/codex_tui__update_prompt__tests__update_picker_selected_28x12.snap index 53c80530..d81ad33a 100644 --- a/codex-rs/tui/src/snapshots/codex_tui__update_prompt__tests__update_picker_selected_28x12.snap +++ b/codex-rs/tui/src/snapshots/codex_tui__update_prompt__tests__update_picker_selected_28x12.snap @@ -3,7 +3,7 @@ source: tui/src/update_prompt.rs expression: rendered --- - Update available · 0.0.0 + Update available · 0.1.0 → 9.9.9 Release notes: https://github.com/opena diff --git a/codex-rs/tui/src/snapshots/codex_tui__update_prompt__tests__update_prompt_modal.snap b/codex-rs/tui/src/snapshots/codex_tui__update_prompt__tests__update_prompt_modal.snap index b5476422..d493ecee 100644 --- a/codex-rs/tui/src/snapshots/codex_tui__update_prompt__tests__update_prompt_modal.snap +++ b/codex-rs/tui/src/snapshots/codex_tui__update_prompt__tests__update_prompt_modal.snap @@ -3,7 +3,7 @@ source: tui/src/update_prompt.rs expression: terminal.backend() --- - Update available · 0.0.0 → 9.9.9 + Update available · 0.1.0 → 9.9.9 Release notes: https://github.com/openai/codex/releases/latest › 1. Update now (runs `npm install -g @openai/codex`) diff --git a/codex-rs/tui/src/startup_draft.rs b/codex-rs/tui/src/startup_draft.rs index 09ea0154..7065098d 100644 --- a/codex-rs/tui/src/startup_draft.rs +++ b/codex-rs/tui/src/startup_draft.rs @@ -458,9 +458,6 @@ impl StartupDraftPump { frame.set_cursor_position((x, y)); } })?; - if let Some(delay) = owned_layout.next_frame.get() { - tui.frame_requester().schedule_frame_in(delay); - } Ok(()) } } @@ -518,7 +515,7 @@ fn startup_draft_bottom_pane( frame_requester, has_input_focus: true, enhanced_keys_supported, - placeholder_text: "Ask Codex to do anything".to_string(), + placeholder_text: "Ask aKode to do anything".to_string(), disable_paste_burst: false, animations_enabled: crate::system_motion::mode() == crate::motion::MotionMode::Animated, effects: Default::default(), diff --git a/codex-rs/tui/src/startup_draft_input.rs b/codex-rs/tui/src/startup_draft_input.rs index 20315004..4c313082 100644 --- a/codex-rs/tui/src/startup_draft_input.rs +++ b/codex-rs/tui/src/startup_draft_input.rs @@ -168,27 +168,8 @@ impl StartupDraftPump { } } TuiEvent::Draw | TuiEvent::Resize(_) | TuiEvent::Resume | TuiEvent::FocusGained => {} - TuiEvent::FocusLost => { - self.blossom.borrow_mut().cancel_replay(); - return Ok(()); - } - TuiEvent::Mouse(mouse) => { - if !tui.is_owned_screen() - || self.initial_screen != StartupDraftInitialScreen::Composer - || !matches!( - self.session_action, - super::StartupDraftSessionAction::New - | super::StartupDraftSessionAction::NewFromCommandCenter - ) - { - return Ok(()); - } - // Size, composer, and modal ownership must be current before hit testing. - self.draw(tui, screen_size)?; - if !self.blossom.borrow_mut().handle_mouse(mouse) { - return Ok(()); - } - } + // The static splash has no pointer or focus behavior of its own. + TuiEvent::FocusLost | TuiEvent::Mouse(_) => return Ok(()), } crate::startup_recovery::remember(self.bottom_pane.composer_recovery_snapshot()); if self.initial_screen == StartupDraftInitialScreen::Composer { diff --git a/codex-rs/tui/src/startup_draft_layout.rs b/codex-rs/tui/src/startup_draft_layout.rs index 5ff03aa8..fac4919b 100644 --- a/codex-rs/tui/src/startup_draft_layout.rs +++ b/codex-rs/tui/src/startup_draft_layout.rs @@ -8,8 +8,6 @@ use ratatui::layout::Rect; use ratatui::style::Style; use ratatui::style::Stylize; use ratatui::widgets::Widget; -use std::cell::Cell; -use std::time::Duration; use super::StartupDraftPump; use super::StartupDraftSessionAction; @@ -22,14 +20,12 @@ use crate::terminal_hyperlinks::HyperlinkParagraph; pub(super) struct OwnedStartupLayout<'a> { pump: &'a StartupDraftPump, bottom: RenderableItem<'a>, - pub(super) next_frame: Cell>, } impl<'a> OwnedStartupLayout<'a> { pub(super) fn new(pump: &'a StartupDraftPump) -> Self { Self { pump, - next_frame: Cell::new(/*value*/ None), bottom: pump .bottom_pane .as_renderable_with_options(ComposerRenderOptions { @@ -67,18 +63,17 @@ impl Renderable for OwnedStartupLayout<'_> { let composer = (!self.pump.submission_pending) .then(|| self.pump.bottom_pane.empty_state_composer()) .flatten(); - self.next_frame - .set(self.pump.blossom.borrow_mut().render_first_screen( - area, - Rect { - y: header.bottom(), - height: bottom.y.saturating_sub(header.bottom()), - ..area - }, - buf, - composer, - self.pump.motion, - )); + self.pump.blossom.borrow().render_first_screen( + area, + Rect { + y: header.bottom(), + height: bottom.y.saturating_sub(header.bottom()), + ..area + }, + buf, + composer, + self.pump.motion, + ); None } StartupDraftSessionAction::Resume => Some(" Resuming session…"), diff --git a/codex-rs/tui/src/startup_draft_layout_tests.rs b/codex-rs/tui/src/startup_draft_layout_tests.rs index c9e1dab5..f7ec4179 100644 --- a/codex-rs/tui/src/startup_draft_layout_tests.rs +++ b/codex-rs/tui/src/startup_draft_layout_tests.rs @@ -2,6 +2,17 @@ use super::*; +/// The splash is the only startup element that renders the welcome line. +fn has_splash(buffer: &Buffer) -> bool { + let width = usize::from(buffer.area.width); + buffer.content.chunks(width).any(|row| { + row.iter() + .map(ratatui::buffer::Cell::symbol) + .collect::() + .contains(crate::branding::WELCOME_LINE) + }) +} + #[test] fn owned_startup_keeps_the_live_bottom_geometry() { let mut pump = crate::startup_draft::tests::quiet_startup_test_pump(); @@ -56,11 +67,7 @@ fn new_startup_decoration_tracks_draft_and_session_action() { let layout = OwnedStartupLayout::new(&pump); let mut buffer = Buffer::empty(area); layout.render(area, &mut buffer); - blossom_visible.push(buffer.content.iter().any(|cell| { - cell.symbol() - .chars() - .any(|ch| ('\u{2801}'..='\u{28ff}').contains(&ch)) - })); + blossom_visible.push(has_splash(&buffer)); } assert_eq!( blossom_visible, @@ -69,24 +76,14 @@ fn new_startup_decoration_tracks_draft_and_session_action() { } #[tokio::test] -async fn configured_welcome_opt_out_disables_blossom_and_clicks() -> anyhow::Result<()> { +async fn configured_welcome_opt_out_disables_splash() -> anyhow::Result<()> { use clap::Parser; use codex_config::LoaderOverrides; - use crossterm::event::KeyModifiers; - use crossterm::event::MouseButton; - use crossterm::event::MouseEvent; - use crossterm::event::MouseEventKind; let codex_home = tempfile::tempdir()?; let cli = crate::Cli::try_parse_from(["codex"])?; let area = Rect::new( /*x*/ 0, /*y*/ 0, /*width*/ 80, /*height*/ 44, ); - let click = MouseEvent { - kind: MouseEventKind::Down(MouseButton::Left), - column: 40, - row: 22, - modifiers: KeyModifiers::NONE, - }; for (settings, enabled) in [ ("", true), ("[tui]\nanimations = false\n", false), @@ -117,16 +114,11 @@ async fn configured_welcome_opt_out_disables_blossom_and_clicks() -> anyhow::Res } let mut buffer = Buffer::empty(area); OwnedStartupLayout::new(&pump).render(area, &mut buffer); - let visible = buffer.content.iter().any(|cell| { - cell.symbol() - .chars() - .any(|ch| ('\u{2801}'..='\u{28ff}').contains(&ch)) - }); + let visible = has_splash(&buffer); assert_eq!( visible, enabled, "settings: {settings}, effective: {effective}" ); - assert_eq!(pump.blossom.borrow_mut().handle_mouse(click), enabled); } } Ok(()) diff --git a/codex-rs/tui/src/startup_draft_tests.rs b/codex-rs/tui/src/startup_draft_tests.rs index 82d2c1c4..e21c1b1a 100644 --- a/codex-rs/tui/src/startup_draft_tests.rs +++ b/codex-rs/tui/src/startup_draft_tests.rs @@ -177,7 +177,7 @@ fn terminal_app_ssh_fallback_renders_inline_startup() { buffer .content .iter() - .any(|cell| { cell.symbol() == ">" && cell.fg == crate::style::accent_color() }) + .any(|cell| { cell.symbol() == "█" && cell.fg == crate::style::accent_color() }) ); let frame = (0..height) .map(|y| { diff --git a/codex-rs/tui/src/status/remote_connection.rs b/codex-rs/tui/src/status/remote_connection.rs index a08b3b76..11436306 100644 --- a/codex-rs/tui/src/status/remote_connection.rs +++ b/codex-rs/tui/src/status/remote_connection.rs @@ -65,7 +65,7 @@ pub(crate) fn server_version_notice(client: &str, server: Option<&str>) -> Optio ServerVersionNoticeKind::Different => "different from", }; Some(format!( - "A background Codex service is running v{server}, {comparison} your Codex CLI v{client}." + "A background aKode service is running v{server}, {comparison} your aKode CLI v{client}." )) } @@ -244,17 +244,17 @@ mod tests { fn server_version_notice_uses_client_release_policy() { assert_eq!( server_version_notice("0.153.0", Some("0.152.1")), - Some("A background Codex service is running v0.152.1, older than your Codex CLI v0.153.0.".to_string()) + Some("A background aKode service is running v0.152.1, older than your aKode CLI v0.153.0.".to_string()) ); assert_eq!(server_version_notice("0.153.0", Some("0.153.0")), None); assert_eq!( server_version_notice("0.0.0", Some("0.152.1")), - Some("A background Codex service is running v0.152.1, different from your Codex CLI v0.0.0.".to_string()) + Some("A background aKode service is running v0.152.1, different from your aKode CLI v0.0.0.".to_string()) ); assert_eq!(server_version_notice("0.153.0", /*server*/ None), None); assert_eq!( server_version_notice("0.153.0-alpha.10", Some("0.153.0-alpha.9")), - Some("A background Codex service is running v0.153.0-alpha.9, older than your Codex CLI v0.153.0-alpha.10.".to_string()) + Some("A background aKode service is running v0.153.0-alpha.9, older than your aKode CLI v0.153.0-alpha.10.".to_string()) ); for server in ["0.153.0-alpha.10", "0.153.0-alpha.11", "0.153.0"] { assert_eq!( @@ -264,7 +264,7 @@ mod tests { } assert_eq!( server_version_notice("0.155.0-alpha.12", Some("0.156.0")), - Some("A background Codex service is running v0.156.0, different from your Codex CLI v0.155.0-alpha.12.".to_string()) + Some("A background aKode service is running v0.156.0, different from your aKode CLI v0.155.0-alpha.12.".to_string()) ); } diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_cached_limits_hide_credits_without_flag.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_cached_limits_hide_credits_without_flag.snap index eafcec80..49e1343a 100644 --- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_cached_limits_hide_credits_without_flag.snap +++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_cached_limits_hide_credits_without_flag.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ OpenAI Codex (v0.0.0) + >_ aKode (v0.1.0) Model: gpt-5.1-codex (reasoning none, summaries auto) Directory: [[workspace]] diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_credits_and_limits.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_credits_and_limits.snap index 32f3020f..830001de 100644 --- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_credits_and_limits.snap +++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_credits_and_limits.snap @@ -5,7 +5,7 @@ expression: sanitized --- /status - >_ OpenAI Codex (v0.0.0) + >_ aKode (v0.1.0) Model: gpt-5.1-codex (reasoning none, summaries auto) Directory: [[workspace]] diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_forked_from.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_forked_from.snap index e5f82621..e22b6207 100644 --- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_forked_from.snap +++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_forked_from.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ OpenAI Codex (v0.0.0) + >_ aKode (v0.1.0) Model: gpt-5.1-codex-max (reasoning none, summaries auto) Directory: [[workspace]] diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_monthly_limit.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_monthly_limit.snap index 85f3b1aa..0e788439 100644 --- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_monthly_limit.snap +++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_monthly_limit.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ OpenAI Codex (v0.0.0) + >_ aKode (v0.1.0) Model: gpt-5.1-codex-max (reasoning none, summaries auto) Directory: [[workspace]] diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_reasoning_details.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_reasoning_details.snap index 324f5418..6b2e2f5c 100644 --- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_reasoning_details.snap +++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_includes_reasoning_details.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ OpenAI Codex (v0.0.0) + >_ aKode (v0.1.0) Model: gpt-5.1-codex-max (reasoning high, summaries detailed) Directory: [[workspace]] diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_local_background_server.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_local_background_server.snap index 1b51580d..7161a15c 100644 --- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_local_background_server.snap +++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_local_background_server.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ OpenAI Codex (v0.0.0) + >_ aKode (v0.1.0) Server: Local background server diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_remote_server.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_remote_server.snap index 6305455c..382abbc8 100644 --- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_remote_server.snap +++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_remote_server.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ OpenAI Codex (v0.0.0) + >_ aKode (v0.1.0) Server: unix:///tmp/codex-home/app-server-control/app-server- control.sock (v0.133.0) diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_active_user_defined_profile.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_active_user_defined_profile.snap index 4915f627..53fe783f 100644 --- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_active_user_defined_profile.snap +++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_active_user_defined_profile.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ OpenAI Codex (v0.0.0) + >_ aKode (v0.1.0) Model: gpt-5.1-codex-max (reasoning none, summaries auto) Directory: [[workspace]] diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_auto_review_permissions.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_auto_review_permissions.snap index abf08763..1d5a135e 100644 --- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_auto_review_permissions.snap +++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_auto_review_permissions.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ OpenAI Codex (v0.0.0) + >_ aKode (v0.1.0) Model: gpt-5.1-codex-max (reasoning none, summaries auto) Directory: [[workspace]] diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_missing_limits_message.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_missing_limits_message.snap index 96303e39..a5bab1c8 100644 --- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_missing_limits_message.snap +++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_missing_limits_message.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ OpenAI Codex (v0.0.0) + >_ aKode (v0.1.0) Model: gpt-5.1-codex-max (reasoning none, summaries auto) Directory: [[workspace]] diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_stale_limits_message.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_stale_limits_message.snap index cc65af67..571e0db7 100644 --- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_stale_limits_message.snap +++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_stale_limits_message.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ OpenAI Codex (v0.0.0) + >_ aKode (v0.1.0) Model: gpt-5.1-codex-max (reasoning none, summaries auto) Directory: [[workspace]] diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_unavailable_limits_message.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_unavailable_limits_message.snap index b2a36826..e22f5890 100644 --- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_unavailable_limits_message.snap +++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_shows_unavailable_limits_message.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ OpenAI Codex (v0.0.0) + >_ aKode (v0.1.0) Model: gpt-5.1-codex-max (reasoning none, summaries auto) Directory: [[workspace]] diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_truncates_halfwidth_kana_in_narrow_terminal.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_truncates_halfwidth_kana_in_narrow_terminal.snap index 58b8eff1..736485db 100644 --- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_truncates_halfwidth_kana_in_narrow_terminal.snap +++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_truncates_halfwidth_kana_in_narrow_terminal.snap @@ -5,7 +5,7 @@ expression: sanitized --- /status - >_ OpenAI Codex (v0.0.0) + >_ aKode (v0.1.0) Model: ガパガパガパガ パ-model (reasoning diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_truncates_in_narrow_terminal.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_truncates_in_narrow_terminal.snap index 92185e0d..249045a7 100644 --- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_truncates_in_narrow_terminal.snap +++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_truncates_in_narrow_terminal.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ OpenAI Codex (v0.0.0) + >_ aKode (v0.1.0) Model: gpt-5.1-codex-max (reasoning high, summaries detailed) diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_uses_default_reasoning_when_config_empty.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_uses_default_reasoning_when_config_empty.snap index 21a71985..3da37476 100644 --- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_uses_default_reasoning_when_config_empty.snap +++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_uses_default_reasoning_when_config_empty.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ OpenAI Codex (v0.0.0) + >_ aKode (v0.1.0) Model: gpt-5.1-codex-max (reasoning medium, summaries auto) Directory: [[workspace]] diff --git a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_uses_generic_limit_labels_for_unsupported_windows.snap b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_uses_generic_limit_labels_for_unsupported_windows.snap index 1534bf0d..4a292313 100644 --- a/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_uses_generic_limit_labels_for_unsupported_windows.snap +++ b/codex-rs/tui/src/status/snapshots/codex_tui__status__tests__status_snapshot_uses_generic_limit_labels_for_unsupported_windows.snap @@ -4,7 +4,7 @@ expression: sanitized --- /status - >_ OpenAI Codex (v0.0.0) + >_ aKode (v0.1.0) Model: gpt-5.1-codex-max (reasoning none, summaries auto) Directory: [[workspace]] diff --git a/codex-rs/tui/src/tui/windows_key_sequence_tests.rs b/codex-rs/tui/src/tui/windows_key_sequence_tests.rs index b6c77597..4e8ef857 100644 --- a/codex-rs/tui/src/tui/windows_key_sequence_tests.rs +++ b/codex-rs/tui/src/tui/windows_key_sequence_tests.rs @@ -209,7 +209,7 @@ async fn mapped_shift_enter_renders_newlines_in_the_composer() { /*has_input_focus*/ true, AppEventSender::new(tx), /*enhanced_keys_supported*/ false, - "Ask Codex to do anything".to_string(), + "Ask aKode to do anything".to_string(), /*disable_paste_burst*/ true, ); for event in decoded(keys("first line\u{1b}[13;2u\u{1b}[13;2usecond line [13;2u")).await { diff --git a/codex-rs/tui/tests/suite/external_editor_tests.rs b/codex-rs/tui/tests/suite/external_editor_tests.rs index 98414c60..11a242b6 100644 --- a/codex-rs/tui/tests/suite/external_editor_tests.rs +++ b/codex-rs/tui/tests/suite/external_editor_tests.rs @@ -69,7 +69,7 @@ fn external_editors_keep_the_screen_and_return_the_draft() -> Result<()> { terminal.wait_for_screen("Save and close external editor to continue.")?; ensure!(terminal.screen_contains("initial draft")); if fullscreen { - ensure!(terminal.screen_contains("OpenAI Codex")); + ensure!(terminal.screen_contains("aKode v")); ensure!(terminal.screen_contains("GPT-5.6-Terra")); } ensure!( diff --git a/codex-rs/tui/tests/suite/focus_palette.rs b/codex-rs/tui/tests/suite/focus_palette.rs index d7d39458..2ece02ae 100644 --- a/codex-rs/tui/tests/suite/focus_palette.rs +++ b/codex-rs/tui/tests/suite/focus_palette.rs @@ -210,17 +210,16 @@ fn default_owned_screen_entry_paints_before_sync_ends_and_exit_clears_inline_dra first_frame.process(&terminal.output[..end]); let first_contents = first_frame.screen().contents(); ensure!( - first_contents.contains("OpenAI Codex") - && first_contents.contains("Ask Codex to do anything"), + first_contents.contains("aKode v") && first_contents.contains("Ask aKode to do anything"), "owned-screen synchronization ended before its first complete loading frame:\n{first_contents}" ); let composer_row = first_contents .lines() - .position(|line| line.contains("Ask Codex to do anything")) + .position(|line| line.contains("Ask aKode to do anything")) .context("missing composer in first owned-screen frame")?; assert_eq!( ( - first_contents.matches("Ask Codex to do anything").count(), + first_contents.matches("Ask aKode to do anything").count(), first_frame.screen().cursor_position(), first_frame.screen().hide_cursor(), ), @@ -266,7 +265,7 @@ fn default_owned_screen_entry_paints_before_sync_ends_and_exit_clears_inline_dra ensure!( !terminal .screen_contents() - .contains("Ask Codex to do anything"), + .contains("Ask aKode to do anything"), "owned-screen exit left the inline composer visible" ); Ok(()) @@ -417,7 +416,7 @@ impl PtyCodex { self.read_output(Duration::from_millis(/*millis*/ 50))?; self.answer_startup_queries()?; - if self.palette_answered && self.screen_contains("OpenAI Codex") { + if self.palette_answered && self.screen_contains("aKode v") { return Ok(()); } diff --git a/codex-rs/tui/tests/suite/gov_cloud_guidance_tests.rs b/codex-rs/tui/tests/suite/gov_cloud_guidance_tests.rs index ee79c7ca..bf6d38c4 100644 --- a/codex-rs/tui/tests/suite/gov_cloud_guidance_tests.rs +++ b/codex-rs/tui/tests/suite/gov_cloud_guidance_tests.rs @@ -24,7 +24,7 @@ fn gov_cloud_startup_persists_only_acknowledgment() -> Result<()> { ); std::fs::write(&path, &config)?; let mut terminal = PtyCodex::start(&cwd, home, &args)?; - terminal.wait_for_screen("Using Codex with AWS GovCloud")?; + terminal.wait_for_screen("Using aKode with AWS GovCloud")?; let original = std::fs::read_to_string(&path)?; let deadline = Instant::now() + STARTUP_TIMEOUT; loop { @@ -36,7 +36,7 @@ fn gov_cloud_startup_persists_only_acknowledgment() -> Result<()> { ensure!(status.success(), "quit exited with {status}"); break; } - } else if terminal.screen_contains("OpenAI Codex") { + } else if terminal.screen_contains("aKode v") { break; } ensure!(Instant::now() < deadline, "{action} did not complete"); @@ -53,7 +53,7 @@ fn gov_cloud_startup_persists_only_acknowledgment() -> Result<()> { let mut restarted = PtyCodex::start(&cwd, home, &args)?; // The startup draft says "loading"; the actual model appears after guidance. restarted.wait_for_screen("gpt-5.6-terra")?; - assert!(!restarted.screen_contains("Using Codex with AWS GovCloud")); + assert!(!restarted.screen_contains("Using aKode with AWS GovCloud")); } else { assert_eq!(saved, original); } diff --git a/codex-rs/tui/tests/suite/worktree_stack.rs b/codex-rs/tui/tests/suite/worktree_stack.rs index ecec4a89..9079a9f2 100644 --- a/codex-rs/tui/tests/suite/worktree_stack.rs +++ b/codex-rs/tui/tests/suite/worktree_stack.rs @@ -110,7 +110,7 @@ async fn picker_side_worktree_fork_and_cd_run_on_the_production_stack() -> Resul terminal.wait_for_startup()?; terminal.wait_for_screen("STACK_SAVED_HISTORY")?; terminal.wait_for_screen("Worked for")?; - terminal.wait_for_screen("Ask Codex to do anything")?; + terminal.wait_for_screen("Ask aKode to do anything")?; // Starting and closing a side conversation both rebuild the displayed chat widget. // Repeat through the real event loop, whose dev-build frames share the production stack. @@ -120,21 +120,21 @@ async fn picker_side_worktree_fork_and_cd_run_on_the_production_stack() -> Resul terminal.ensure_running()?; terminal.write_input(b"\x03")?; terminal.wait_for_screen("STACK_SAVED_HISTORY")?; - terminal.wait_for_screen("Ask Codex to do anything")?; + terminal.wait_for_screen("Ask aKode to do anything")?; terminal.ensure_running()?; let draft = format!("SIDE_STACK_DRAFT_{attempt}"); terminal.write_input(draft.as_bytes())?; terminal.wait_for_screen(&draft)?; terminal.write_input(b"\x15")?; - terminal.wait_for_screen("Ask Codex to do anything")?; + terminal.wait_for_screen("Ask aKode to do anything")?; } submit(&mut terminal, "/resume")?; terminal.wait_for_screen("Resume a previous session")?; terminal.ensure_running()?; terminal.write_input(b"\x1b")?; - terminal.wait_for_screen("Ask Codex to do anything")?; + terminal.wait_for_screen("Ask aKode to do anything")?; submit(&mut terminal, "/worktree")?; terminal.wait_for_screen("Continue current conversation")?;