From dfbcd5c81ce68dae69a18cf66ab5f772ec111ce4 Mon Sep 17 00:00:00 2001 From: Petr Nyc Date: Tue, 29 Sep 2026 22:29:40 +0200 Subject: [PATCH] kitty and codex conf --- .codex/config.toml | 59 ++++++++++------------------------------ .config/kitty/kitty.conf | 41 ++++++++++++++++++++++++++-- .zshrc | 3 -- 3 files changed, 54 insertions(+), 49 deletions(-) diff --git a/.codex/config.toml b/.codex/config.toml index e2c49cf..4472d47 100644 --- a/.codex/config.toml +++ b/.codex/config.toml @@ -8,28 +8,6 @@ model_catalog_json = "/Users/jetpac/.codex/models_cache.json" # doc: https://developers.openai.com/codex/config-advanced # https://developers.openai.com/codex/config-reference -# The API key should be valid for a year -# Generate API key: -# 1. Open https://apex.oraclecorp.com/pls/apex/r/oca/api-key/home and generate an API Key for yourself. -# 2. Press 'Copy Codex Environment Setup Command' -# 3. paste the command and run it -# #+begin_src bash -# echo | codex login --with-api-key -# #+end_src - - - -# model = "gpt-5.6-sol" - - -# web_search is deprecated -# web_search_request = true - -allowed_web_search_modes = [ "live" ] - - -trust_level = "trusted" - # sandbox_mode = "workspace-write" personality = "pragmatic" model_reasoning_effort = "xhigh" @@ -50,6 +28,7 @@ goals = true js_repl = false terminal_resize_reflow = true memories = true +prevent_idle_sleep = true # remote_control = true [agents] @@ -61,6 +40,7 @@ alternate_screen = "always" status_line = ["model-with-reasoning", "current-dir", "git-branch", "run-state", "codex-version", "context-remaining"] pet = "seedy" animations = false +screen_reader_detection_done = true [tui.model_availability_nux] "gpt-5.5" = 4 @@ -73,24 +53,6 @@ writable_roots = [ "/Users/jetpac/.codex/skills" ] [analytics] enabled = false - -[model_providers.oca-responses] -base_url = "https://code-internal.aiservice.us-chicago-1.oci.oraclecloud.com/20250206/app/litellm" -http_headers = { "client" = "codex-cli", "client-version" = "0" } -model = "gpt5" -name = "Oracle Code Assist Responses" -wire_api = "responses" -stream_max_retries = 20 -request_max_retries = 20 - -[profiles.gpt-5-5-pro] -model = "gpt-5.5-pro" -model_provider = "oca-responses" -review_model = "gpt-5.5-pro" -personality = "pragmatic" - - - [mcp_servers.playwright] command = "/Users/jetpac/.codex/bin/playwright-mcp" args = ["--extension"] @@ -1234,6 +1196,15 @@ trust_level = "trusted" [projects."/Users/jetpac/Documents/ansible"] trust_level = "trusted" +[projects."/Users/jetpac/.ssh/ssh_configs"] +trust_level = "trusted" + +[projects."/Users/jetpac/.ora-gateway"] +trust_level = "trusted" + +[projects."/Users/jetpac/.local/src/cyrus-sasl-xoauth2"] +trust_level = "trusted" + [marketplaces.openai-bundled] source_type = "local" source = "/Users/jetpac/.codex/.tmp/bundled-marketplaces/openai-bundled" @@ -1281,7 +1252,7 @@ composerEnterBehavior = "cmdIfMultiline" preventSleepWhileRunning = true keepRemoteControlAwakeWhilePluggedIn = false conversationDetailMode = "STEPS_COMMANDS" -ambient-suggestions-enabled = false +ambient-suggestions-enabled = true followUpQueueMode = "queue" dock-icon-preference = "codex-system" show-context-window-usage = true @@ -1606,10 +1577,10 @@ NODE_REPL_INSTRUCTIONS_USE_CASE_BROWSER = "" NODE_REPL_INSTRUCTIONS_USE_CASE_CHROME = "" NODE_REPL_INSTRUCTIONS_USE_CASE_COMPUTER_USE = "" BROWSER_USE_CODEX_APP_BUILD_FLAVOR = "prod" -BROWSER_USE_CODEX_APP_VERSION = "26.901.51231" -NODE_REPL_TRUSTED_SERVICES = '{"browser":"/Users/jetpac/.codex/plugins/cache/openai-bundled/browser/26.901.51231/scripts/browser-service.mjs","sky":"@oai/sky/service"}' +BROWSER_USE_CODEX_APP_VERSION = "26.924.20706" +NODE_REPL_TRUSTED_SERVICES = '{"browser":"/Users/jetpac/.codex/plugins/cache/openai-bundled/browser/26.924.20706/scripts/browser-service.mjs","sky":"@oai/sky/service"}' SKY_CUA_SERVICE_PATH = "/Users/jetpac/.codex/computer-use/Codex Computer Use.app" -CODEX_CLI_PATH = "/Applications/ChatGPT.app/Contents/Resources/codex" +CODEX_CLI_PATH = "/Applications/ChatGPT.app/Contents/Resources/codex-cli/CodexCLI.app/Contents/MacOS/codex" [mcp_servers.computer-use] command = "./Codex Computer Use.app/Contents/SharedSupport/SkyComputerUseClient.app/Contents/MacOS/SkyComputerUseClient" diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 716e3eb..8daf8e8 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -2350,6 +2350,7 @@ hide_window_decorations no #: inside it to take effect. # macos_option_as_alt no +macos_option_as_alt both #: Use the Option key as an Alt key on macOS. With this set to no, #: kitty will use the macOS native Option+Key to enter Unicode @@ -3331,8 +3332,8 @@ tab_bar_align left tab_bar_min_tabs 1 tab_separator " " tab_activity_symbol "•" -tab_title_template "{index}:{activity_symbol}{title}{bell_symbol}" -active_tab_title_template "{index}:{title}*{bell_symbol}{activity_symbol}" +tab_title_template "{index}:{activity_symbol}{title}({num_windows}){bell_symbol}" +active_tab_title_template "{index}:{title}*({num_windows}){bell_symbol}{activity_symbol}" active_tab_font_style normal inactive_tab_font_style normal @@ -3349,3 +3350,39 @@ map alt+6 goto_tab 6 map alt+7 goto_tab 7 map alt+8 goto_tab 8 map alt+9 goto_tab 9 + +# tmux-style Ctrl+A prefix +map ctrl+a>ctrl+a send_text all \x01 +map ctrl+a>q focus_visible_window + +# Tabs — equivalent to tmux windows +map ctrl+a>c new_tab +map ctrl+a>n next_tab +map --allow-fallback=shifted,ascii alt+n next_tab +map ctrl+a>p previous_tab +map --allow-fallback=shifted,ascii alt+p previous_tab +map ctrl+a>1 goto_tab 1 +map ctrl+a>2 goto_tab 2 +map ctrl+a>3 goto_tab 3 +map ctrl+a>4 goto_tab 4 +map ctrl+a>5 goto_tab 5 +map ctrl+a>6 goto_tab 6 +map ctrl+a>7 goto_tab 7 +map ctrl+a>8 goto_tab 8 +map ctrl+a>9 goto_tab 9 +map ctrl+a>0 goto_tab 10 +map ctrl+a>, set_tab_title + +# Panes +map ctrl+a>| combine : goto_layout splits : launch --location=vsplit +map ctrl+a>s combine : goto_layout splits : launch --location=hsplit +map ctrl+a>- combine : goto_layout splits : launch --location=hsplit +map ctrl+a>x close_window +map ctrl+a>h neighboring_window left +map ctrl+a>j neighboring_window down +map ctrl+a>k neighboring_window up +map ctrl+a>l neighboring_window right +map ctrl+a>r start_resizing_window + +# Temporarily maximize the current pane +map ctrl+a>z toggle_layout stack diff --git a/.zshrc b/.zshrc index 28bbfd3..1a468d1 100644 --- a/.zshrc +++ b/.zshrc @@ -280,9 +280,6 @@ fi unset _profile_interactive _profile_emacs _profile_terminal _profile_plugin _profile_cache_root _profile_launchctl_ssh_auth_sock unset -f _profile_add_plugin _profile_add_plugin_if_command_exists 2>/dev/null || true -### MANAGED BY RANCHER DESKTOP START (DO NOT EDIT) -export PATH="/Users/jetpac/.rd/bin:$PATH" -### MANAGED BY RANCHER DESKTOP END (DO NOT EDIT) . "$HOME/.atuin/bin/env"