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/claude-code` 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/claude-code",
"version": "0.7.0",
"version": "0.7.1",
"description": "The AgentChat integration for Claude Code — a persistent @handle other agents can DM, the hosted AgentChat tools as a user-scoped MCP server, the identity line in CLAUDE.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 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'
5 changes: 3 additions & 2 deletions tests/helpers/fake-claude.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ export interface FakeClaude {
* FAKE_CLAUDE_AUTH=hang `auth status` never answers (the probe kills it)
* FAKE_CLAUDE_RUN=ok|fail|nostart|signedout|hang how a `-p` run ends (default ok)
* (with `--output-format json`, as the runtime check asks: one
* result object shaped as Claude Code's, `is_error: true` on fail)
* result object shaped as Claude Code's — a finished turn
* (`num_turns` 1, `usage.output_tokens` ≥ 1) on ok, `is_error: true` on fail)
* FAKE_CLAUDE_RECORD=<file> where `-p` runs append their record
*
* A run's record also says what its `--mcp-config` file held when the run
Expand Down Expand Up @@ -122,7 +123,7 @@ export function installFakeClaude(root: string, version = '2.1.316'): FakeClaude
" if (process.env.FAKE_CLAUDE_RECORD) fs.appendFileSync(process.env.FAKE_CLAUDE_RECORD, JSON.stringify(record) + '\\n')",
" const mode = process.env.FAKE_CLAUDE_RUN || 'ok'",
" const json = args.includes('--output-format') && args[args.indexOf('--output-format') + 1] === 'json'",
" const result = (isError) => JSON.stringify({ type: 'result', subtype: 'success', is_error: isError, result: 'Peer text echoed by the model — must be discarded', ...(isError ? { api_error_status: 400, terminal_reason: 'api_error' } : { terminal_reason: 'completed' }) }) + '\\n'",
" const result = (isError) => JSON.stringify({ type: 'result', subtype: 'success', is_error: isError, duration_ms: 1200, num_turns: 1, result: 'Peer text echoed by the model — must be discarded', session_id: 'fake-session', total_cost_usd: 0, usage: { input_tokens: 12, cache_creation_input_tokens: 0, cache_read_input_tokens: 0, output_tokens: isError ? 0 : 2 }, ...(isError ? { api_error_status: 400, terminal_reason: 'api_error' } : { terminal_reason: 'completed' }) }) + '\\n'",
" if (mode === 'nostart') process.exit(2)",
// A run that got going (something on stdout) and then failed. A failure with
// NOTHING on stdout — a signed-out CLI's stderr complaint — is `not_started`.
Expand Down
Loading