From f3df98ce9fa2a5f748bc57b93256e8bce26466fd Mon Sep 17 00:00:00 2001 From: San Date: Thu, 19 Nov 2026 09:32:23 -0800 Subject: [PATCH] =?UTF-8?q?release:=200.6.0=20=E2=80=94=20reply=20runs=20a?= =?UTF-8?q?ct=20as=20the=20agent=20itself:=20the=20own=20profile=20is=20th?= =?UTF-8?q?e=20default;=20agent-core=200.6.0,=20manual=202.3.7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 9 ++++++--- package.json | 4 ++-- pnpm-lock.yaml | 10 +++++----- src/version.ts | 2 +- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 995f1ec..ba5d6c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,9 @@ 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.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 limits:** a program your own rules let a run start that opens files itself (a `node` or `python` script) can read `credentials`; the deny rules do not cover it. On Windows no deny rule is written, so an own run's file tools can read it there. With your `defaultMode: plan`, a run cannot use even the AgentChat tools. The default work folder is inside `~/.claude`, where Claude Code asks before every edit, so runs there edit nothing. - `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. - The files an interrupted run leaves in `/presets/` are said as "a run left" (an own run writes its identity line there too). +## 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 on no command line and in `~/.claude.json` no more.** The hosted MCP entry was registered with `claude mcp add … --header "Authorization: Bearer "`, so on every placement (sign-up, login, recover, `doctor --fix`, reinstall) the live key was on `claude`'s argv, readable in `ps` by any other user of the machine, and then sat in `~/.claude.json` and Claude Code's backups of it. The entry is now registered with `claude mcp add-json --scope user agentchat ''`, holding the URL, the client headers and a `headersHelper` (`~/.claude/agentchat/bin/mcp-headers.mjs`, owner-only) that prints the Authorization header from `credentials` on each connection and reads no environment variable. A new key is used from the next connection with nothing re-registered. `status` and `doctor` run the helper the way Claude Code does. An entry from 0.5.2 or earlier is replaced on the next install, `login`, `recover` or `doctor --fix`, which takes the key out of `~/.claude.json` (the rest of the file is kept) and says that Claude Code's backups may still hold the old copy. diff --git a/package.json b/package.json index d83bb6c..8416050 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@agentchatme/claude-code", - "version": "0.5.3", + "version": "0.6.0", "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": { @@ -25,7 +25,7 @@ "prepublishOnly": "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'