@timmeck/brain 3.10.0 → 3.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -89,6 +89,7 @@ Brain: "⚠ Warning: This code matches antipattern #7 — missing connection
89
89
  - **Semantic Search** — Local all-MiniLM-L6-v2 embeddings (23MB, no cloud required) for vector similarity
90
90
  - **Learning Engine** — Extracts patterns, generates rules, detects antipatterns with adaptive thresholds
91
91
  - **Research Engine** — Automated trend analysis, gap detection, cross-project synergy mapping
92
+ - **Dream Mode** — Offline memory consolidation: replay, prune, compress, decay during idle periods (new in v3.10)
92
93
  - **Git Integration** — Links errors to commits, tracks which changes introduced or fixed bugs
93
94
  - **Universal Access** — MCP (stdio + HTTP/SSE), REST API, works with Claude Code, Cursor, Windsurf, Cline
94
95
 
@@ -202,6 +203,10 @@ These tools are available to Claude Code (and other MCP clients) when Brain is c
202
203
  | **Learning Explainability** (new in v3.0) | |
203
204
  | `brain_explain_learning` | Show active learned rules with confidence scores and source data |
204
205
  | `brain_override_rule` | Override rules — boost, suppress, or delete with rationale |
206
+ | **Dream Mode** (new in v3.10) | |
207
+ | `brain_dream_status` | Dream engine status and lifetime consolidation stats |
208
+ | `brain_dream_consolidate` | Manually trigger a dream consolidation cycle |
209
+ | `brain_dream_history` | View past dream consolidation cycles |
205
210
  | **Status & Ecosystem** | |
206
211
  | `brain_status` | Current Brain stats (now includes memory and session counts) |
207
212
  | `brain_notifications` | Get pending notifications |
@@ -357,10 +362,10 @@ Brain is part of the **[Brain Ecosystem](https://github.com/timmeck/brain-ecosys
357
362
 
358
363
  | Brain | Purpose | Ports |
359
364
  |-------|---------|-------|
360
- | **Brain** v3.9.0 | Error memory, code intelligence, persistent context & autonomous research | **7777** / 7778 |
361
- | [Trading Brain](https://github.com/timmeck/brain-ecosystem/tree/main/packages/trading-brain) v2.9.0 | Adaptive trading intelligence with memory, sessions & autonomous research | 7779 / 7780 |
362
- | [Marketing Brain](https://github.com/timmeck/brain-ecosystem/tree/main/packages/marketing-brain) v1.10.0 | Content strategy, engagement, campaigns & autonomous research | 7781 / 7782 / 7783 |
363
- | [Brain Core](https://github.com/timmeck/brain-ecosystem/tree/main/packages/brain-core) v2.8.0 | Shared infrastructure (IPC, MCP, REST, CLI, math, synapses, memory, research) | — |
365
+ | **Brain** v3.10.0 | Error memory, code intelligence, persistent context & autonomous research | **7777** / 7778 |
366
+ | [Trading Brain](https://github.com/timmeck/brain-ecosystem/tree/main/packages/trading-brain) v2.10.0 | Adaptive trading intelligence with memory, sessions & autonomous research | 7779 / 7780 |
367
+ | [Marketing Brain](https://github.com/timmeck/brain-ecosystem/tree/main/packages/marketing-brain) v1.11.0 | Content strategy, engagement, campaigns & autonomous research | 7781 / 7782 / 7783 |
368
+ | [Brain Core](https://github.com/timmeck/brain-ecosystem/tree/main/packages/brain-core) v2.9.0 | Shared infrastructure (IPC, MCP, REST, CLI, math, synapses, memory, research) | — |
364
369
  | [Brain Hub](https://timmeck.github.io/brain-hub/) | Ecosystem landing page | — |
365
370
 
366
371
  All packages live in the [brain-ecosystem](https://github.com/timmeck/brain-ecosystem) monorepo with npm workspaces. [Brain Core](https://www.npmjs.com/package/@timmeck/brain-core) provides shared infrastructure (IPC, MCP, REST API, CLI, math, synapse algorithms, memory types) used by all brains, eliminating ~2,800 lines of duplicated code.
@@ -433,7 +433,7 @@ export class IpcRouter {
433
433
  // Status (cross-brain)
434
434
  ['status', () => ({
435
435
  name: 'brain',
436
- version: '3.10.0',
436
+ version: '3.10.1',
437
437
  uptime: Math.floor(process.uptime()),
438
438
  pid: process.pid,
439
439
  methods: this.listMethods().length,
@@ -7,7 +7,7 @@ import { registerPromptsDirect } from './prompts.js';
7
7
  export class McpHttpServer {
8
8
  inner;
9
9
  constructor(port, router) {
10
- this.inner = new CoreMcpHttpServer(port, router, { name: 'brain', version: '3.10.0' }, (server, _r) => {
10
+ this.inner = new CoreMcpHttpServer(port, router, { name: 'brain', version: '3.10.1' }, (server, _r) => {
11
11
  registerToolsDirect(server, router);
12
12
  registerResearchToolsDirect(server, router);
13
13
  registerAdvancedResearchToolsDirect(server, router);
@@ -8,7 +8,7 @@ import { registerPrompts } from './prompts.js';
8
8
  export async function startMcpServer() {
9
9
  await coreStartMcpServer({
10
10
  name: 'brain',
11
- version: '3.10.0',
11
+ version: '3.10.1',
12
12
  entryPoint: path.resolve(import.meta.dirname, '../index.ts'),
13
13
  registerTools: (server, ipc) => {
14
14
  registerTools(server, ipc);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timmeck/brain",
3
- "version": "3.10.0",
3
+ "version": "3.10.1",
4
4
  "description": "Adaptive error memory and code intelligence system with Hebbian synapse network, hybrid search, and REST API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",