grepmax 0.12.4 → 0.12.6

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.
@@ -206,9 +206,26 @@ class Daemon {
206
206
  if (proj) {
207
207
  (0, project_registry_1.registerProject)(Object.assign(Object.assign({}, proj), { lastIndexed: new Date().toISOString() }));
208
208
  }
209
+ // Back to watching after batch completes
210
+ (0, watcher_store_1.registerWatcher)({
211
+ pid: process.pid,
212
+ projectRoot: root,
213
+ startTime: Date.now(),
214
+ status: "watching",
215
+ lastHeartbeat: Date.now(),
216
+ lastReindex: Date.now(),
217
+ });
209
218
  },
210
219
  onActivity: () => {
211
220
  this.lastActivity = Date.now();
221
+ // Mark as syncing while processing
222
+ (0, watcher_store_1.registerWatcher)({
223
+ pid: process.pid,
224
+ projectRoot: root,
225
+ startTime: Date.now(),
226
+ status: "syncing",
227
+ lastHeartbeat: Date.now(),
228
+ });
212
229
  },
213
230
  });
214
231
  this.processors.set(root, processor);
@@ -295,7 +295,7 @@ class VectorDB {
295
295
  });
296
296
  }
297
297
  optimize() {
298
- return __awaiter(this, arguments, void 0, function* (retries = 3, retentionMs = 0) {
298
+ return __awaiter(this, arguments, void 0, function* (retries = 5, retentionMs = 0) {
299
299
  const table = yield this.ensureTable();
300
300
  const cutoff = new Date(Date.now() - retentionMs);
301
301
  for (let attempt = 1; attempt <= retries; attempt++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grepmax",
3
- "version": "0.12.4",
3
+ "version": "0.12.6",
4
4
  "author": "Robert Owens <robowens@me.com>",
5
5
  "homepage": "https://github.com/reowens/grepmax",
6
6
  "bugs": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grepmax",
3
- "version": "0.12.4",
3
+ "version": "0.12.6",
4
4
  "description": "Semantic code search for Claude Code. Automatically indexes your project and provides intelligent search capabilities.",
5
5
  "author": {
6
6
  "name": "Robert Owens",