@karmaniverous/jeeves-watcher 0.17.1 → 0.17.3

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.
@@ -289,6 +289,9 @@
289
289
  "type": "string"
290
290
  },
291
291
  "__schema7": {
292
+ "default": [
293
+ "**/node_modules/**"
294
+ ],
292
295
  "description": "Glob patterns to exclude from watching (e.g., \"**/node_modules/**\").",
293
296
  "allOf": [
294
297
  {
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { createConfigQueryHandler as createConfigQueryHandler$1, createStatusHandler, createConfigApplyHandler, DEFAULT_PORTS, getBindAddress } from '@karmaniverous/jeeves';
3
- import { n as normalizeSlashes, a as normalizeError, G as GitignoreFilter, e as executeReindex, V as VALID_REINDEX_SCOPES, i as inferenceRuleSchema, m as mergeInferenceRules, j as jeevesWatcherConfigSchema, b as isPathWatched, g as getWatchRootBases, C as CONFIG_WATCH_VALID_SCOPES, r as retry, s as sleep, l as loadConfig } from './index.js';
4
- export { c as startFromConfig } from './index.js';
2
+ import { n as normalizeSlashes, a as normalizeError, G as GitignoreFilter, e as executeReindex, c as createConfigQueryHandler$1, V as VALID_REINDEX_SCOPES, i as inferenceRuleSchema, m as mergeInferenceRules, j as jeevesWatcherConfigSchema, b as isPathWatched, g as getWatchRootBases, d as createConfigApplyHandler, C as CONFIG_WATCH_VALID_SCOPES, f as createStatusHandler, r as retry, s as sleep, l as loadConfig, D as DEFAULT_PORTS, h as getBindAddress } from './index.js';
3
+ export { k as startFromConfig } from './index.js';
5
4
  import { mkdirSync, existsSync, readFileSync, writeFileSync, rmSync, renameSync, readdirSync, statSync } from 'node:fs';
6
5
  import { join, dirname, resolve, extname, basename, isAbsolute } from 'node:path';
7
6
  import Database from 'better-sqlite3';
@@ -34,7 +33,18 @@ import * as cheerio from 'cheerio';
34
33
  import mammoth from 'mammoth';
35
34
  import { MarkdownTextSplitter, RecursiveCharacterTextSplitter } from '@langchain/textsplitters';
36
35
  import { QdrantClient } from '@qdrant/js-client-rest';
37
- import 'node:module';
36
+ import 'path';
37
+ import 'fs';
38
+ import 'constants';
39
+ import 'stream';
40
+ import 'util';
41
+ import 'assert';
42
+ import 'events';
43
+ import 'vm';
44
+ import 'node:events';
45
+ import 'node:child_process';
46
+ import 'node:process';
47
+ import 'node:os';
38
48
  import 'cosmiconfig';
39
49
  import 'ignore';
40
50
 
@@ -2286,7 +2296,7 @@ function createConfigMatchHandler(options) {
2286
2296
  if (config !== cachedConfig) {
2287
2297
  compiledRules = compileRules(config.inferenceRules ?? []);
2288
2298
  watchMatcher = picomatch(config.watch.paths, { dot: true });
2289
- ignoreMatcher = config.watch.ignored?.length
2299
+ ignoreMatcher = config.watch.ignored.length
2290
2300
  ? picomatch(config.watch.ignored, { dot: true })
2291
2301
  : undefined;
2292
2302
  cachedConfig = config;
@@ -5816,7 +5826,7 @@ class FileSystemWatcher {
5816
5826
  // Chokidar v5's inline anymatch does exact string equality for string
5817
5827
  // matchers, breaking glob-based ignored patterns. Convert to picomatch
5818
5828
  // functions that chokidar passes through as-is.
5819
- const ignored = this.config.ignored
5829
+ const ignored = this.config.ignored.length
5820
5830
  ? resolveIgnored(this.config.ignored)
5821
5831
  : undefined;
5822
5832
  // Track initial scan statistics per root for diagnostics.