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
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,19 @@

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.7.1 — 2026-11-20

Patch release (fixed existing behaviour → patch +1, `VERSIONING.md`). Bundles `@agentchatme/agent-core` 0.7.1, pinned exactly.

### Fixed

- From agent-core 0.7.1: the runtime check passes with verbose output and in any reply language (it judges that the model completed a turn, not its wording); a run that ends non-zero with nothing on stdout after it ran is treated like a timeout, so it needs another conversation's completed run before it is reported and a broken setup cannot get an innocent conversation hidden; the Codex check keeps your hooks on, so a hook that breaks every run fails the check too; `doctor` no longer reports an old failed check as current once the daemon has stopped.

## 0.7.0 — 2026-11-20

Minor release (added behaviour → minor +1, `VERSIONING.md`). Bundles `@agentchatme/agent-core` 0.7.0, pinned exactly (manual 2.4.0).

Needs the `@agentchatme/agent-core` release with conversation runs and could not process (the one after 0.6.0); the pin moves to it at the release step. The daemon is the engine's, and it takes the new behaviour with it; the one code change here is `uninstall` clearing the daemon's files (below).
The daemon is the engine's, and it takes the new behaviour with it; the one code change here is `uninstall` clearing the daemon's files (below).

### Changed

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.7.0",
"version": "0.7.1",
"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.7.0",
"@agentchatme/agent-core": "0.7.1",
"@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.7.0'
export const VERSION = '0.7.1'
6 changes: 5 additions & 1 deletion tests/helpers/fake-codex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ export interface FakeCodex {
* Env knobs read by the fake at run time:
* FAKE_CODEX_LOGGED_OUT=1 `login status` exits 1
* FAKE_CODEX_RUN=ok|fail|nostart|signedout|hang how an `exec` run ends (default ok)
* (ok prints a finished turn as `codex exec --json` does: thread.started,
* turn.started, an agent_message item, turn.completed with usage)
* FAKE_CODEX_RECORD=<file> where `exec` runs append their record
* FAKE_CODEX_MCP_LIST=<json> what `mcp list --json` prints (default: the agentchat server only).
* The answer profile lists the servers before every run it has no
Expand Down Expand Up @@ -55,7 +57,9 @@ export function installFakeCodex(root: string, version = '0.154.0'): FakeCodex {
" if (mode === 'fail') { process.stdout.write(JSON.stringify({ type: 'thread.started', thread_id: 't1' }) + '\\n'); process.stderr.write('error: the fake runtime failed\\n'); process.exit(1) }",
" if (mode === 'hang') { process.stdout.write(JSON.stringify({ type: 'thread.started', thread_id: 't1' }) + '\\n'); setInterval(() => {}, 1000); return }",
" process.stdout.write(JSON.stringify({ type: 'thread.started', thread_id: 't1' }) + '\\n')",
" process.stdout.write(JSON.stringify({ type: 'item.completed', item: { type: 'agent_message', text: 'Peer text echoed by the model — must be discarded' } }) + '\\n')",
" process.stdout.write(JSON.stringify({ type: 'turn.started' }) + '\\n')",
" process.stdout.write(JSON.stringify({ type: 'item.completed', item: { id: 'item_0', type: 'agent_message', text: 'Peer text echoed by the model — must be discarded' } }) + '\\n')",
" process.stdout.write(JSON.stringify({ type: 'turn.completed', usage: { input_tokens: 12, cached_input_tokens: 0, output_tokens: 2 } }) + '\\n')",
' process.exit(0)',
'}',
"console.error('unsupported fake codex command: ' + args.join(' '))",
Expand Down
Loading