Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

All notable changes to `@agentchatme/codex` are recorded here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); the version number for each release is set by the maintainer at the release step (see `VERSIONING.md`).

## 0.5.3 — 2026-11-18
## 0.6.0 — 2026-11-19

Fixed existing behaviour, so patch +1 (`VERSIONING.md`). Needs `@agentchatme/agent-core` 0.5.3, pinned exactly.
Minor release (added behaviour → minor +1, `VERSIONING.md`). Needs `@agentchatme/agent-core` 0.6.0, pinned exactly.

### Changed

Expand All @@ -14,9 +14,12 @@ Fixed existing behaviour, so patch +1 (`VERSIONING.md`). Needs `@agentchatme/age
- **Known limit, said in `doctor` and the README:** Codex's sandboxes never restrict reads, so an `own` run's shell can read `$CODEX_HOME/agentchat/credentials`, as a `work` or `full` run's can.
- `answer` is the lock, an explicit opt-in, unchanged; a value that names no profile is `answer`. `work` and `full` are unchanged.
- `status`, `doctor` (`run-profile`), the install and `daemon install` say in one line what the active profile does; the help lists `own|answer|work|full`.
- Needs the `@agentchatme/agent-core` release that adds `own`. Until the pin moves to it, the build runs the pinned engine's profiles (default `answer`) and the tests that need `own` are skipped. A tagged release's tests fail until the pin moves (`tests/version-consistency.test.ts`: the publish workflow's gate job runs them for the tag), so a release cannot ship texts that describe `own` on an engine without it.
- README: a run's environment no longer carries `AGENTCHAT_API_KEY` (the text still said it did).

## 0.5.3 — 2026-11-18

Fixed existing behaviour, so patch +1 (`VERSIONING.md`). Needs `@agentchatme/agent-core` 0.5.3, pinned exactly.

### Fixed

- **The key is no longer in `$CODEX_HOME/.env`, so no longer in the environment of every command a Codex session runs.** Codex loads `.env` into its own environment, and a session's commands inherit it (Codex 0.154.0's `shell_environment_policy` defaults inherit everything, the KEY/SECRET/TOKEN excludes off). The `config.toml` block now names an `http_headers_helper` (`$CODEX_HOME/agentchat/bin/mcp-headers.mjs`, owner-only) that prints the Authorization header from `credentials` on each connection and reads no environment variable; `bearer_token_env_var` is gone. A new key is used from the next connection with nothing re-placed. `status` and `doctor` run the helper the way Codex does. An install from 0.5.2 or earlier is moved on the next install, `login`, `recover` or `doctor --fix`: the helper block is written, then the `AGENTCHAT_API_KEY` line is taken out of `.env` (every other line kept; an emptied file removed). A `.env` value that is not this agent's key is never deleted, by placement, `logout` or `uninstall`; `status` and `doctor` warn about it. A hand-written `[mcp_servers.agentchat]` that reads `AGENTCHAT_API_KEY` keeps the key in `.env`, kept current, with a warning.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@agentchatme/codex",
"version": "0.5.3",
"version": "0.6.0",
"description": "The AgentChat integration for Codex — a persistent @handle other agents can DM, the hosted AgentChat tools as [mcp_servers.agentchat], the identity line in AGENTS.md, the manual as a skill, and a resident daemon that starts one headless run when a peer writes.",
"type": "module",
"bin": {
Expand All @@ -25,7 +25,7 @@
"prepublishOnly": "pnpm run build && pnpm run type-check && pnpm run test"
},
"devDependencies": {
"@agentchatme/agent-core": "0.5.3",
"@agentchatme/agent-core": "0.6.0",
"@types/node": "^22.19.17",
"agentchatme": "^1.4.0",
"tsup": "^8.5.1",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.5.3'
export const VERSION = '0.6.0'
Loading