@getmikk/watcher 1.5.0 → 1.6.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.
package/README.md CHANGED
@@ -1,11 +1,15 @@
1
1
  # @getmikk/watcher
2
2
 
3
- > Chokidar-powered file watcher daemon with incremental analysis, debouncing, race-condition protection, and atomic lock file updates.
3
+ > Your architecture map, always in sync zero manual re-analysis.
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/@getmikk/watcher)](https://www.npmjs.com/package/@getmikk/watcher)
6
6
  [![License: Apache-2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](../../LICENSE)
7
7
 
8
- `@getmikk/watcher` keeps the `mikk.lock.json` file in sync with your codebase in real time. When files change, the watcher debounces events, incrementally re-parses only the affected files, updates the dependency graph, recomputes Merkle hashes, and writes the lock file atomically — all without requiring a full re-analysis.
8
+ `@getmikk/watcher` keeps `mikk.lock.json` in sync with your source code in real time. It uses Chokidar to watch for file events, batches and debounces changes (so saving 20 files triggers one re-analysis, not twenty), incrementally re-parses only affected files, patches the dependency graph, recomputes Merkle hashes, and writes the lock file atomically — all with a PID-based singleton that prevents duplicate daemon processes.
9
+
10
+ The result: your AI context, impact analysis, and contract validation are always based on the current state of your codebase, not a stale snapshot.
11
+
12
+ > Part of [Mikk](../../README.md) — the codebase nervous system for AI-assisted development.
9
13
 
10
14
  ---
11
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getmikk/watcher",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,7 +21,7 @@
21
21
  "dev": "tsc --watch"
22
22
  },
23
23
  "dependencies": {
24
- "@getmikk/core": "^1.5.0",
24
+ "@getmikk/core": "^1.6.0",
25
25
  "chokidar": "^4.0.0"
26
26
  },
27
27
  "devDependencies": {
@@ -177,6 +177,12 @@ export class IncrementalAnalyzer {
177
177
  impactResult: {
178
178
  changed: changedPaths,
179
179
  impacted: [],
180
+ classified: {
181
+ critical: [],
182
+ high: [],
183
+ medium: [],
184
+ low: [],
185
+ },
180
186
  depth: 0,
181
187
  confidence: 'low', // Full rebuild = can't determine precise impact
182
188
  },