From 652be8b13cc641d74343ebaf4cd4c17122116006 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 14 Jul 2026 15:03:34 +0200 Subject: [PATCH] Pin Codex and Headroom releases --- chatgpt_codex/CHANGELOG.md | 6 +++--- chatgpt_codex/Dockerfile | 10 +++++++--- chatgpt_codex/config.yaml | 2 +- chatgpt_codex/updater.json | 5 ++++- 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/chatgpt_codex/CHANGELOG.md b/chatgpt_codex/CHANGELOG.md index 3ff9e8f518..af2bb098ca 100644 --- a/chatgpt_codex/CHANGELOG.md +++ b/chatgpt_codex/CHANGELOG.md @@ -1,9 +1,9 @@ -## 0.1.0 (14-07-2026) +## 0.144.3 (14-07-2026) -- Initial ChatGPT Codex add-on. +- Initial ChatGPT Codex add-on based on Codex `0.144.3`. - Added a persistent, administrator-only Home Assistant ingress terminal backed by tmux. - Made `headroom wrap codex` the default launch path. -- Added baked-in RTK with native Codex initialization and savings reporting. +- Pinned Headroom `0.31.0` and baked-in RTK `0.43.0` with native Codex initialization and savings reporting. - Added device-code authentication and direct Codex fallback helpers. - Added persistent configuration, GitHub CLI integration, mount support, and safe defaults. - Made the default workspace follow a custom `data_location`. diff --git a/chatgpt_codex/Dockerfile b/chatgpt_codex/Dockerfile index dec58d61f0..db7df5ecae 100644 --- a/chatgpt_codex/Dockerfile +++ b/chatgpt_codex/Dockerfile @@ -9,6 +9,8 @@ ARG BUILD_FROM ARG BUILD_VERSION +ARG BUILD_UPSTREAM="0.144.3" +ARG HEADROOM_VERSION="0.31.0" ARG RTK_VERSION="v0.43.0" ARG RTK_COMMIT="5a7880d404db8364d602f2ecdc41dd790f64013f" @@ -38,6 +40,8 @@ VOLUME [ "/sys/fs/cgroup" ] ARG TEMPLATE_BASE_URL="https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates" ARG TTYD_VERSION="1.7.7" +ARG BUILD_UPSTREAM +ARG HEADROOM_VERSION ################## # 3 Install apps # @@ -64,7 +68,7 @@ RUN apt-get update && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* -# Install the official Codex static binary for the target architecture. +# Install the pinned official Codex static binary for the target architecture. RUN set -eux; \ case "$(dpkg --print-architecture)" in \ amd64) codex_arch="x86_64" ;; \ @@ -74,7 +78,7 @@ RUN set -eux; \ archive="/tmp/codex.tar.gz"; \ curl -fsSL --retry 3 --retry-delay 2 \ -o "$archive" \ - "https://github.com/openai/codex/releases/latest/download/codex-${codex_arch}-unknown-linux-musl.tar.gz"; \ + "https://github.com/openai/codex/releases/download/rust-v${BUILD_UPSTREAM}/codex-${codex_arch}-unknown-linux-musl.tar.gz"; \ tar -xzf "$archive" -C /tmp; \ install -m 0755 "/tmp/codex-${codex_arch}-unknown-linux-musl" /usr/local/bin/codex; \ rm -f "$archive" "/tmp/codex-${codex_arch}-unknown-linux-musl"; \ @@ -95,7 +99,7 @@ RUN set -eux; \ COPY --from=rtk-builder /out/rtk /usr/local/bin/rtk RUN rtk --version && \ - pip3 install --break-system-packages --no-cache-dir "headroom-ai[proxy,code,mcp]" && \ + pip3 install --break-system-packages --no-cache-dir "headroom-ai[proxy,code,mcp]==${HEADROOM_VERSION}" && \ headroom --version ARG MODULES="00-banner.sh 00-global_var.sh 01-custom_script.sh 00-local_mounts.sh 00-smb_mounts.sh 90-dns_set.sh" diff --git a/chatgpt_codex/config.yaml b/chatgpt_codex/config.yaml index 3a3be1bf19..1e25674567 100644 --- a/chatgpt_codex/config.yaml +++ b/chatgpt_codex/config.yaml @@ -65,4 +65,4 @@ slug: chatgpt_codex tmpfs: true udev: true url: https://github.com/alexbelgium/hassio-addons -version: "0.1.0" +version: "0.144.3" diff --git a/chatgpt_codex/updater.json b/chatgpt_codex/updater.json index 245fd3e67a..ad08b16d81 100644 --- a/chatgpt_codex/updater.json +++ b/chatgpt_codex/updater.json @@ -1,9 +1,12 @@ { "github_beta": false, + "github_fulltag": false, + "github_havingasset": true, + "github_tagfilter": "rust-v", "last_update": "2026-07-14", "repository": "alexbelgium/hassio-addons", "slug": "chatgpt_codex", "source": "github", "upstream_repo": "openai/codex", - "upstream_version": "0.1.0" + "upstream_version": "0.144.3" }