Releases: moryoav/home-assistant-codex
Release list
v0.1.49 - Generated images in the chat
Images generated by Codex now appear directly in the chat.
- Ask for an image in a conversation and it is shown under the response, with a full-size link and a Download button.
- Images stay with their exchange across page reloads and worker restarts, including when a saved chat is continued. Each exchange shows only the images it produced.
- Generation uses the built-in Codex image tool with your ChatGPT sign-in. No API key is needed; availability depends on the account.
- Images are served only through the authenticated worker API, which checks the stored file's type, size, and hash before sending. Files over 25 MB and images beyond 12 per exchange are skipped.
codex_cli.get_taskand thecodex_cli_task_resultevent include anattachmentslist for automations.- Codex is told that generated images are attached automatically, so it no longer needs to copy them into
/configunless you ask for a file at a specific path.
Update the worker app to 0.1.49 to see generated images in chats.
Validation: 83 tests passed, plus browser checks that the image renders, the download link works, and the attachment endpoint returns the right type and rejects unknown ids. Image generation was verified with Codex CLI 0.154.0 in non-interactive codex exec mode. Browser checks use simulated responses; no live Home Assistant task was run.
v0.1.48 - Per-conversation model and reasoning controls
Choose a model and reasoning level for each conversation from the controls below the message box.
- Add a compact model menu with the selected model marked, plus a blue reasoning slider inspired by the Windows app.
- Save choices per conversation across restarts and apply changes to the next message without losing its context.
- Keep new chats on the add-on defaults, with separate controls to reset model and reasoning choices.
- Show supported reasoning levels for each model, including Max and Ultra where available, and reset incompatible reasoning selections when switching models.
- Support keyboard controls, small screens, and light and dark themes.
Update the worker app to 0.1.48 to use the new controls. Model availability depends on the signed-in account. Ultra allows automatic task delegation.
Validation: 75 tests passed, plus browser checks for saved selections, model compatibility, reset and keyboard controls, conversation history, mobile layouts down to 320 pixels, and dark mode. Browser checks use simulated responses; no live Home Assistant task was run.
v0.1.47 - Remaining quota in the web UI
- Show remaining 5h and 7d account quota percentages below Home Assistant workspace in the web UI sidebar.
- Refresh quota automatically and show reset times on hover when available.
- Identify cached quota while a task is running and show unavailable values clearly.
Update the Codex CLI Worker app to 0.1.47, then reload its web UI to see the percentages. This UI update does not require a Home Assistant restart.
Validation: 70 tests passed, along with browser checks for desktop/mobile layouts, dark mode, remaining quota values, unavailable values, and connection failures.
v0.1.46 - New chat web UI
A new chat experience for Home Assistant
Introduce a full chat web UI for Codex, inspired by ChatGPT and Codex. This release replaces the single task form with a place to browse saved conversations, read earlier answers, and continue working with the same context.
Ask a question, come back to the answer, and send a follow-up in the same chat. Completed tasks can now become ongoing conversations.
Explore the new interface
- Saved chats in a resizable sidebar: browse recent conversations on the left and open their messages and responses on the right.
- Continue where you left off: send a follow-up to an earlier chat with its saved Codex context, or choose New chat to start a separate conversation.
- Conversation history that stays available: keep messages and responses across further replies and worker restarts.
- Designed for desktop and mobile: resize the sidebar on a larger screen or open the conversation drawer on your phone.
- Light and dark themes: follow your device's appearance preference.
- Settings in one place: manage ChatGPT sign-in and workspace instructions without leaving the web UI.
Screenshots show demo conversations from the local test fixture.
New actions for scripts and automations
- Add
codex_cli.continue_taskto send follow-up messages to completed, waiting, failed, or cancelled tasks with an available saved session. - Add task-list filters, pagination, and compact summaries while preserving existing action defaults.
- Preserve separate messages, responses, snapshots, and change manifests for each exchange.
Updating
Update both the Codex CLI Worker app/add-on and the Codex HACS integration to 0.1.46. Restart Home Assistant after updating the integration so the new action is registered, then open the worker web UI to try the new chat experience.
Existing tasks remain available. Earlier responses already overwritten by older versions cannot be recovered. Continuation requires the task's saved Codex session; a missing session produces an error instead of starting a fresh chat.
Validation
- 70 tests passed.
- Desktop and mobile browser checks passed for conversation history, continuation, pagination, drafts, settings, resizing, dark mode, and safe text rendering.
v0.1.45
- Fix the sandbox readiness check added in 0.1.44. It called
codex sandbox linux ..., but the bundled Codex CLI 0.154.0 has no platform subcommand, so the check tried to run a program namedlinux, reportedFailed to execvp linux, and blocked every task in theread-onlyandworkspace-writemodes. The check now runscodex sandbox [options] -- /bin/true.
If you are on 0.1.44 and use a sandboxed mode, please update. danger-full-access was not affected.
v0.1.44
- Work around an upstream Codex CLI bug (openai/codex#44329) that made every sandboxed task fail with
bwrap: Can't mount proc on /proc: Operation not permittedon hosts that deny a fresh/procmount, including Home Assistant OS. Codex now selects its own no-proc fallback again. This is a temporary, narrowly scoped workaround for theread-onlyandworkspace-writemodes;danger-full-accessis unchanged. - Verify a real Codex sandbox execution before reporting the sandbox as ready, so a broken sandbox is reported at startup and before each task instead of failing mid-task.
- See
codex-cli-worker/SANDBOX_TESTING.mdfor the scope, verification steps, and how to remove the workaround once upstream is fixed.
v0.1.43
v0.1.42
Changes
- Add GPT-5.6 Sol, Terra, and Luna to the Codex model selector.
- Remove old and deprecated choices while retaining GPT-5.5 as a previous-generation fallback.
- Preserve upgrade compatibility for existing GPT-5.3-Codex selections by treating them as the CLI default.
Validation
- 34 tests passed locally with pytest.
- Worker tests, HACS validation, and Hassfest passed on the release commit.
v0.1.41
Changes
- Document how to request optional Markdown-friendly task output through
/config/AGENTS.md. - Keep the default worker output contract unchanged and explain that output rendering depends on the Home Assistant consumer.
- Include a safe, concise example that avoids raw HTML, images, and embedded content.
Validation
- 34 tests passed with pytest and the CI-style unittest runner.
- HACS validation and hassfest passed on the release commit.
v0.1.40
Changes
- Fix session resume handling by trusting only authoritative Codex
thread.startedevents. - Keep the requested session ID as a fallback when Codex does not emit a valid start event.
- Clear previous reply output before each run so a failed resume cannot reuse an older response.
- Add focused regression coverage for session parsing, resume fallback, and stale output.
Validation
- 34 worker tests passed with pytest and the CI Python 3.12 unittest environment.
- HACS validation and hassfest passed on the release commit.





