promptgraph-mcp 2.9.56 → 2.9.58

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/indexer.js CHANGED
@@ -122,7 +122,7 @@ export async function indexAll({ fast = false } = {}) {
122
122
  const seenFiles = new Set();
123
123
  const allFiles = [];
124
124
  for (const { dir, source } of normalizedSources) {
125
- const files = globSync(`${dir}/**/*.md`);
125
+ const files = globSync(`${dir}/**/*.md`, { dot: true });
126
126
  for (const f of files) {
127
127
  const norm = sanitizePath(f);
128
128
  if (!seenFiles.has(norm)) {
@@ -285,7 +285,7 @@ export async function indexFile(filePath, source) {
285
285
  // Index only one source directory — fast mode first (no embeddings), then embed in background
286
286
  export async function indexSource(dir, sourceName) {
287
287
  const db = getDb();
288
- const files = globSync(`${dir}/**/*.md`);
288
+ const files = globSync(`${dir}/**/*.md`, { dot: true });
289
289
  const total = files.length;
290
290
  info(`Indexing ${chalk.white.bold(total)} files from ${sourceName}...`);
291
291