@customize-agent/knowledge 4.0.24 → 4.0.25
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.
|
@@ -62,7 +62,7 @@ export class MultiProjectManager {
|
|
|
62
62
|
}
|
|
63
63
|
async search(projectRoot, query, options = {}) {
|
|
64
64
|
const limit = options.limit ?? 10;
|
|
65
|
-
const scope = options.scope ?? '
|
|
65
|
+
const scope = options.scope ?? 'project';
|
|
66
66
|
const project = await this.getProject(projectRoot);
|
|
67
67
|
await this.ensureFreshForSearch(projectRoot, project);
|
|
68
68
|
if (scope === 'project')
|
|
@@ -83,7 +83,7 @@ export class MultiProjectManager {
|
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
async semanticSearch(projectRoot, query, options = {}) {
|
|
86
|
-
const scope = options.scope ?? '
|
|
86
|
+
const scope = options.scope ?? 'project';
|
|
87
87
|
const project = await this.getProject(projectRoot);
|
|
88
88
|
await this.ensureFreshForSearch(projectRoot, project);
|
|
89
89
|
if (scope === 'project') {
|