recker 1.0.41 → 1.0.42-next.240a7f6
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/dist/cli/index.js +1 -1
- package/dist/cli/tui/shell-search.js +2 -2
- package/dist/mcp/data/embeddings.json +1 -0
- package/dist/mcp/prompts/index.d.ts +16 -0
- package/dist/mcp/prompts/index.js +115 -0
- package/dist/mcp/search/types.d.ts +1 -0
- package/dist/mcp/server.d.ts +1 -0
- package/dist/mcp/server.js +22 -3
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -4619,7 +4619,7 @@ ${colors.bold(colors.yellow('Tools provided:'))}
|
|
|
4619
4619
|
${colors.bold(colors.yellow('Claude Code config (~/.claude.json):'))}
|
|
4620
4620
|
${colors.gray(`{
|
|
4621
4621
|
"mcpServers": {
|
|
4622
|
-
"recker
|
|
4622
|
+
"recker": {
|
|
4623
4623
|
"command": "npx",
|
|
4624
4624
|
"args": ["recker", "mcp"]
|
|
4625
4625
|
}
|
|
@@ -293,8 +293,8 @@ const { results, stats } = await client.batch([
|
|
|
293
293
|
const data = await loadEmbeddings({ debug: false });
|
|
294
294
|
if (data && data.documents && data.documents.length > 0) {
|
|
295
295
|
for (const doc of data.documents) {
|
|
296
|
-
let content = '';
|
|
297
|
-
if (!doc.section) {
|
|
296
|
+
let content = doc.content || '';
|
|
297
|
+
if (!content && !doc.section) {
|
|
298
298
|
const fullPath = join(this.docsPath, doc.path);
|
|
299
299
|
if (existsSync(fullPath)) {
|
|
300
300
|
content = readFileSync(fullPath, 'utf-8');
|