jasper-recall 0.2.1 → 0.2.2

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/SKILL.md CHANGED
@@ -1,13 +1,15 @@
1
1
  ---
2
2
  name: jasper-recall
3
- version: 0.2.0
4
- description: Local RAG system for agent memory using ChromaDB and sentence-transformers. Provides semantic search over session logs, daily notes, and memory files. v0.2.0 adds shared agent memory with privacy controls — tag entries [public]/[private], use --public-only for sandboxed agents. Commands: recall, index-digests, digest-sessions, privacy-check, sync-shared.
3
+ version: 0.2.1
4
+ description: Local RAG system for agent memory using ChromaDB and sentence-transformers. Provides semantic search over session logs, daily notes, and memory files. v0.2.1 adds HTTP server for Docker-isolated agents. Commands: recall, index-digests, digest-sessions, privacy-check, sync-shared, serve.
5
5
  ---
6
6
 
7
- # Jasper Recall v0.2.0
7
+ # Jasper Recall v0.2.1
8
8
 
9
9
  Local RAG (Retrieval-Augmented Generation) system for AI agent memory. Gives your agent the ability to remember and search past conversations.
10
10
 
11
+ **New in v0.2.1:** Recall Server — HTTP API for Docker-isolated agents that can't run CLI directly.
12
+
11
13
  **New in v0.2.0:** Shared Agent Memory — bidirectional learning between main and sandboxed agents with privacy controls.
12
14
 
13
15
  ## When to Use
@@ -161,6 +163,30 @@ Options:
161
163
  --public-only Only search shared/public content (v0.2.0+)
162
164
  ```
163
165
 
166
+ ### serve (v0.2.1+)
167
+
168
+ ```
169
+ npx jasper-recall serve [OPTIONS]
170
+
171
+ Options:
172
+ --port, -p N Port to listen on (default: 3458)
173
+ --host, -h H Host to bind (default: 127.0.0.1)
174
+
175
+ Starts HTTP API server for Docker-isolated agents.
176
+
177
+ Endpoints:
178
+ GET /recall?q=query&limit=5 Search memories
179
+ GET /health Health check
180
+
181
+ Security: public_only=true enforced by default.
182
+ Set RECALL_ALLOW_PRIVATE=true to allow private queries.
183
+ ```
184
+
185
+ **Example (from Docker container):**
186
+ ```bash
187
+ curl "http://host.docker.internal:3458/recall?q=product+info"
188
+ ```
189
+
164
190
  ### privacy-check (v0.2.0+)
165
191
 
166
192
  ```
@@ -15,7 +15,7 @@ const fs = require('fs');
15
15
  const path = require('path');
16
16
  const os = require('os');
17
17
 
18
- const VERSION = '0.2.1';
18
+ const VERSION = '0.2.2';
19
19
  const VENV_PATH = path.join(os.homedir(), '.openclaw', 'rag-env');
20
20
  const CHROMA_PATH = path.join(os.homedir(), '.openclaw', 'chroma-db');
21
21
  const BIN_PATH = path.join(os.homedir(), '.local', 'bin');
@@ -183,8 +183,8 @@ switch (command) {
183
183
  case 'serve':
184
184
  case 'server':
185
185
  // Start the HTTP server for sandboxed agents
186
- const serverArgs = process.argv.slice(3);
187
- require('./server');
186
+ const { runCLI } = require('./server');
187
+ runCLI(process.argv.slice(3));
188
188
  break;
189
189
  case '--version':
190
190
  case '-v':
package/cli/server.js CHANGED
@@ -184,12 +184,10 @@ function startServer(port = 3458, host = '127.0.0.1') {
184
184
  return server;
185
185
  }
186
186
 
187
- // Export for programmatic use
188
- module.exports = { startServer, executeRecall, parseResults };
189
-
190
- // CLI entry point
191
- if (require.main === module) {
192
- const args = process.argv.slice(2);
187
+ /**
188
+ * Parse CLI args and start server
189
+ */
190
+ function runCLI(args) {
193
191
  let port = 3458;
194
192
  let host = '127.0.0.1';
195
193
 
@@ -226,3 +224,11 @@ Examples:
226
224
 
227
225
  startServer(port, host);
228
226
  }
227
+
228
+ // Export for programmatic use
229
+ module.exports = { startServer, executeRecall, parseResults, runCLI };
230
+
231
+ // CLI entry point
232
+ if (require.main === module) {
233
+ runCLI(process.argv.slice(2));
234
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jasper-recall",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Local RAG system for AI agent memory using ChromaDB and sentence-transformers",
5
5
  "main": "src/index.js",
6
6
  "bin": {