diff --git a/CHANGELOG.md b/CHANGELOG.md index f84c30e..24fbe12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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. diff --git a/package.json b/package.json index bad03be..bc471c8 100644 --- a/package.json +++ b/package.json @@ -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": { @@ -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", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 154e959..360f05a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: devDependencies: '@agentchatme/agent-core': - specifier: 0.5.3 - version: 0.5.3 + specifier: 0.6.0 + version: 0.6.0 '@types/node': specifier: ^22.19.17 version: 22.20.1 @@ -32,8 +32,8 @@ importers: packages: - '@agentchatme/agent-core@0.5.3': - resolution: {integrity: sha512-/KGC03w/AxIAj6Evo2SlR7q5hMDzMNODcwTqVBNqabzjTmwPbPBxpDDuR+w7g8o190s34FyT6Qtox6i5tETMcw==} + '@agentchatme/agent-core@0.6.0': + resolution: {integrity: sha512-S1X/ExJJs6cxAuD3ixCx7FNAvP/alHKBoQJER/pwYzj1LGkNwtOrwYsAXmVEd3GD/XyYg8IbiqjC5fPTt0RiCA==} engines: {node: '>=22.0.0'} '@esbuild/aix-ppc64@0.27.7': @@ -952,7 +952,7 @@ packages: snapshots: - '@agentchatme/agent-core@0.5.3': + '@agentchatme/agent-core@0.6.0': dependencies: agentchatme: 1.4.0(ws@8.21.1) cross-spawn: 7.0.6 diff --git a/src/version.ts b/src/version.ts index 4b9a84d..ed6f46f 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.5.3' +export const VERSION = '0.6.0'