diff --git a/CLAUDE.md b/CLAUDE.md index 1700282b..60d02919 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,6 +1,6 @@ # Claude Code Working Guide -_Last synced: v2.8.67 (2026-11-03) — user chat removed (reverted)._ A change that makes any statement in this file, `AGENTS.md`, or a README wrong — a moved path, a new or changed extension point, a retired rule — updates that file in the same change-set and bumps this marker. **Bump = replace the version/date and a ≤ 1-line summary; never append a changelog here** — details belong in the commit message and `docs/`, because this whole file is loaded into every session. +_Last synced: v2.8.67 (2026-11-03) — user chat removed; its tables and uploads are dropped at start._ A change that makes any statement in this file, `AGENTS.md`, or a README wrong — a moved path, a new or changed extension point, a retired rule — updates that file in the same change-set and bumps this marker. **Bump = replace the version/date and a ≤ 1-line summary; never append a changelog here** — details belong in the commit message and `docs/`, because this whole file is loaded into every session. ## Project mission - Maintain a reliable local-first dashboard for Claude Code session monitoring. diff --git a/client/src/pages/__tests__/__snapshots__/screens.snapshot.test.tsx.snap b/client/src/pages/__tests__/__snapshots__/screens.snapshot.test.tsx.snap index 30945b78..85ad382f 100644 --- a/client/src/pages/__tests__/__snapshots__/screens.snapshot.test.tsx.snap +++ b/client/src/pages/__tests__/__snapshots__/screens.snapshot.test.tsx.snap @@ -7316,7 +7316,7 @@ exports[`screen snapshots > Settings — about 1`] = ` - UI build v2.8.66 (rebuild client to match) + UI build v2.8.67 (rebuild client to match)
diff --git a/package-lock.json b/package-lock.json index eacc29d3..25e08404 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "agenthub", - "version": "2.8.66", + "version": "2.8.67", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "agenthub", - "version": "2.8.66", + "version": "2.8.67", "hasInstallScript": true, "license": "UNLICENSED", "dependencies": { diff --git a/package.json b/package.json index 18914d07..32ee55ee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "agenthub", - "version": "2.8.66", + "version": "2.8.67", "bin": { "agenthub": "bin/agenthub.js" }, diff --git a/server/db.js b/server/db.js index ad0acd69..91978c1a 100644 --- a/server/db.js +++ b/server/db.js @@ -1854,6 +1854,22 @@ try { db.prepare("ALTER TABLE dashboard_runs ADD COLUMN chat_token_hash TEXT").run(); } +// v2.8.65–2.8.66 shipped a chat between users (chat_* tables, uploads under +// /chat/); it was removed in v2.8.67, and its data goes with it. +try { + db.exec(` + DROP TABLE IF EXISTS chat_files; + DROP TABLE IF EXISTS chat_messages; + DROP TABLE IF EXISTS chat_members; + DROP TABLE IF EXISTS chat_rooms; + `); + if (!process.env.DASHBOARD_DB_PATH) { + fs.rmSync(path.join(getDataDir(), "chat"), { recursive: true, force: true }); + } +} catch { + /* best effort: a leftover is unused */ +} + // Server mode: whose browser a push subscription is (`users.id`); NULL in // local mode. A user's notifications go only to their own subscriptions. try {