You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: document daemon mode for automatic file re-indexing
Add daemon mode documentation to README.md and CHANGELOG.md:
- Feature bullet point in "What you get" section
- Complete usage section with CLI commands and examples
- CHANGELOG entry with all daemon mode capabilities
Copy file name to clipboardExpand all lines: CHANGELOG.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
### Added
11
+
12
+
#### **Daemon Mode for Automatic Re-Indexing**
13
+
-**Background file watching**: `codegraph daemon start <path>` launches a background process that monitors file changes
14
+
-**Automatic re-indexing**: Changed files are automatically re-indexed using upsert semantics (no duplicates)
15
+
-**Circuit breaker pattern**: SurrealDB health monitoring with exponential backoff for resilience
16
+
-**PID file management**: Proper daemon lifecycle with process tracking and graceful shutdown
17
+
-**CLI commands**:
18
+
-`codegraph daemon start <path>` - Start watching a project (with `--foreground` option for debugging)
19
+
-`codegraph daemon stop <path>` - Stop the daemon for a project
20
+
-`codegraph daemon status <path>` - Check daemon status (with `--json` option)
21
+
-**Language and pattern filtering**: Supports `--languages`, `--exclude`, and `--include` flags
22
+
-**Event coalescing**: Batches rapid file changes to avoid redundant re-indexing
23
+
-**Feature flag**: `daemon` feature enables this functionality
24
+
10
25
### Removed
11
26
- Dropped the transactional/versioning/branch N-API bindings plus their documentation; the native TypeScript surface now focuses on semantic search, graph analysis, and cloud configuration so it matches the Surreal-only architecture.
12
27
- Replaced the native addon example with a semantic-search walkthrough and removed CLI-centric integration snippets that referenced the deleted CodeGraph CLI.
0 commit comments