promptgraph-mcp 2.9.56 → 2.9.57
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/api.js +2 -2
- package/commands/add-dir.js +1 -1
- package/commands/marketplace.js +157 -157
- package/github-import.js +934 -923
- package/indexer.js +2 -2
- package/marketplace.js +889 -889
- package/package.json +1 -1
- package/src/filter/hard-filter.js +13 -3
- package/src/filter/train.js +1 -1
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
|
|