Skip to content

v0.4.0 - AIWorkAPI Plugin

Latest

Choose a tag to compare

@blueshed blueshed released this 06 Nov 21:22
· 15 commits to main since this release

馃殌 New Features

AIWorkAPI Plugin - AI Memory & Context System

A comprehensive AI memory and context management system for invokej, enabling persistent storage and retrieval of AI session information.

Key Features:

  • 馃 Memory Management: Store and retrieve AI session context (goals, decisions, insights, breakthroughs)
  • 馃捑 SQLite-backed: Persistent storage with schema versioning
  • 馃搳 Session Tracking: Organize memories by work sessions
  • 馃攳 Smart Retrieval: Query by session, type, recency, or relevance
  • 馃搱 Statistics & Analytics: Track memory usage patterns
  • 馃摝 Export/Import: JSON export for portability

Usage:
```javascript
import { AIWorkAPI } from 'invokej/plugins';

export class Tasks {
constructor() {
this.ai = new AIWorkAPI();
}

async remember(c, message, type = 'insight') {
await this.ai.remember(c, message, type);
}

async recall(c) {
const memories = await this.ai.recall(c);
console.log(memories);
}
}
```

Documentation:

  • See AI-PLUGIN-ANALYSIS.md for comprehensive architecture analysis
  • See examples/with-ai-work.js for complete integration example

馃摑 Other Changes

  • Added comprehensive AI plugin analysis document (450+ lines)
  • Updated documentation and examples
  • All 137 tests passing

馃摝 Installation

```bash
npm install -g invokej@0.4.0

or

bun install -g invokej@0.4.0
```


Full Changelog: v0.3.0...v0.4.0