@karmaniverous/jeeves-watcher-openclaw 0.10.0 → 0.12.0
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.
|
@@ -78,7 +78,7 @@ You have access to a **semantic archive** of your human's working world. Documen
|
|
|
78
78
|
|
|
79
79
|
**STOP and ask for a human decision before:**
|
|
80
80
|
|
|
81
|
-
- **Renaming, moving, or reorganizing watched directories.**
|
|
81
|
+
- **Renaming, moving, or reorganizing watched directories.** The watcher has **move detection** enabled by default (`watch.moveDetection.enabled: true`). When a file is moved, chokidar emits unlink + add events; the `MoveCorrelator` buffers the unlink, matches it with the add via content hash, and processes it as a zero-embedding move (point ID remap, metadata re-inference, enrichment migration). **No re-embedding cost for moves.** However, if a rename is blocked (e.g., by a file lock from the watcher or another service), **do NOT work around it by creating new directories and copying/moving files**. That creates duplicate embeddings at the new paths while the old paths still exist. Instead: stop the blocking service, perform the rename, restart.
|
|
82
82
|
- **Changing `watch.paths` to add large directory trees.** Adding a new watch root triggers initial indexing of every matching file under it.
|
|
83
83
|
- **Running `scope: "full"` reindex.** This re-embeds the entire index. Use `scope: "rules"` for inference rule changes (zero embedding cost — only metadata reapplication).
|
|
84
84
|
- **Any bulk file operation** (mass copy, mass move, template-based file generation) under watched paths.
|
|
@@ -387,7 +387,7 @@ Partial configs merge with current config by rule name. If `config` is omitted,
|
|
|
387
387
|
Apply config changes atomically.
|
|
388
388
|
- `config` (object, required) — full or partial config to apply
|
|
389
389
|
|
|
390
|
-
Validates, writes to disk, and triggers configured reindex behavior. Returns validation errors if invalid.
|
|
390
|
+
Validates, writes to disk, and triggers configured reindex behavior. Returns validation errors if invalid. Config changes take full effect without service restart — including new/removed watch paths (filesystem watcher is rebuilt), inference rule changes, move detection settings, and gitignore filter updates.
|
|
391
391
|
|
|
392
392
|
### `watcher_reindex`
|
|
393
393
|
Trigger a reindex operation. All scopes return a `plan` object showing blast area before execution begins.
|
|
@@ -783,6 +783,8 @@ $.templateHelpers — Handlebars helper namespaces with exports
|
|
|
783
783
|
|
|
784
784
|
Use `watcher_enrich` to tag documents after analysis (e.g., `reviewed: true`, project labels).
|
|
785
785
|
|
|
786
|
+
**Enrichments are durable.** Stored in a SQLite database (`<stateDir>/enrichments.sqlite`), enrichments survive full reindexes. When the watcher re-processes a file, enrichments are merged with inference rule output using composable semantics: scalar fields overwrite, array fields union+deduplicate.
|
|
787
|
+
|
|
786
788
|
**Metadata is validated against the file's matched rule schemas.** Validation errors return structured messages:
|
|
787
789
|
```json
|
|
788
790
|
{
|
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "jeeves-watcher-openclaw",
|
|
3
3
|
"name": "Jeeves Watcher",
|
|
4
4
|
"description": "Semantic search, metadata enrichment, and instance administration for a jeeves-watcher deployment.",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.12.0",
|
|
6
6
|
"skills": [
|
|
7
7
|
"dist/skills/jeeves-watcher"
|
|
8
8
|
],
|
package/package.json
CHANGED