agentdb 1.0.5 → 1.0.7

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/CHANGELOG.md CHANGED
@@ -5,6 +5,32 @@ All notable changes to AgentDB will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.0.7] - 2025-10-18
9
+
10
+ ### Fixed
11
+ - **Browser Bundle:** Removed better-sqlite3 dependency from browser builds completely
12
+ - Made NativeBackend import fully dynamic to prevent bundling Node.js dependencies
13
+ - Browser bundle size reduced to 89KB (down from 196KB in v1.0.5)
14
+ - Fixed "Failed to resolve module specifier 'better-sqlite3'" error in browser WASM
15
+
16
+ ### Changed
17
+ - NativeBackend now uses lazy loading with require() instead of static imports
18
+ - Removed require.resolve() check from backend detection for browser compatibility
19
+ - Added native-backend paths to esbuild external list for browser builds
20
+
21
+ ## [1.0.6] - 2025-10-18
22
+
23
+ ### Added
24
+ - **Claude Code Setup Guide** - Complete documentation for MCP integration
25
+ - Quick setup command: `claude mcp add agentdb npx agentdb@1.0.5 mcp`
26
+ - Updated README with all 20 MCP tools listed (10 core + 10 learning)
27
+ - Direct link to comprehensive Claude Code setup guide
28
+
29
+ ### Changed
30
+ - README now shows quick setup command first (better UX)
31
+ - Improved MCP tools documentation with descriptions
32
+ - Added link to detailed setup guide in docs/
33
+
8
34
  ## [1.0.5] - 2025-10-18
9
35
 
10
36
  ### Added
package/README.md CHANGED
@@ -73,28 +73,55 @@ It's the missing layer that lets agents **remember what worked, learn what didn'
73
73
  npm install agentdb
74
74
  ```
75
75
 
76
- ### For Claude Desktop / MCP Integration
76
+ ### For Claude Code / MCP Integration
77
77
 
78
- Add AgentDB as an MCP server in your Claude Desktop config:
78
+ **Quick Setup (Recommended):**
79
+
80
+ ```bash
81
+ claude mcp add agentdb npx agentdb@1.0.5 mcp
82
+ ```
83
+
84
+ This automatically configures Claude Code with all 20 AgentDB tools (10 core + 10 learning tools).
85
+
86
+ **Manual Setup:**
87
+
88
+ Add AgentDB to your Claude Desktop config (`~/.config/claude/claude_desktop_config.json`):
79
89
 
80
90
  ```json
81
91
  {
82
92
  "mcpServers": {
83
93
  "agentdb": {
84
94
  "command": "npx",
85
- "args": ["agentdb", "mcp"]
95
+ "args": ["agentdb@1.0.5", "mcp"]
86
96
  }
87
97
  }
88
98
  }
89
99
  ```
90
100
 
91
- **Available MCP Tools:**
101
+ **Available MCP Tools (20 total):**
102
+
103
+ *Core Tools (10):*
92
104
  - `agentdb_init` - Initialize vector database
93
105
  - `agentdb_insert` / `agentdb_insert_batch` - Store vectors
94
- - `agentdb_search` - Semantic search
95
- - `agentdb_pattern_store` / `agentdb_pattern_search` - ReasoningBank
106
+ - `agentdb_search` - Semantic similarity search
107
+ - `agentdb_pattern_store` / `agentdb_pattern_search` - ReasoningBank patterns
96
108
  - `agentdb_stats` - Database metrics
97
- - ...and 5 more tools
109
+ - `agentdb_delete` - Delete vectors
110
+ - `agentdb_pattern_stats` - Pattern statistics
111
+ - `agentdb_clear_cache` - Clear query cache
112
+
113
+ *Learning Tools (10):*
114
+ - `learning_start_session` / `learning_end_session` - Session management
115
+ - `learning_predict` - AI-recommended actions with confidence
116
+ - `learning_feedback` - Provide user feedback
117
+ - `learning_train` - Train policies on experience
118
+ - `learning_metrics` - Performance metrics
119
+ - `learning_transfer` - Transfer learning between tasks
120
+ - `learning_explain` - Explain AI predictions
121
+ - `experience_record` - Record tool executions
122
+ - `reward_signal` - Calculate multi-dimensional rewards
123
+
124
+ [📚 Full Claude Code Setup Guide](docs/CLAUDE_CODE_SETUP.md)
98
125
 
99
126
  ### CLI Usage
100
127