@ureck/alexandria 0.5.2 → 0.5.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.
- package/dist/hooks/on-prompt.js +8 -0
- package/package.json +1 -1
package/dist/hooks/on-prompt.js
CHANGED
|
@@ -74,6 +74,14 @@ Contexto recuperado de la b\xF3veda local (usa esto antes de releer archivos o r
|
|
|
74
74
|
injectedChars: injected.length,
|
|
75
75
|
promptChars: prompt.length
|
|
76
76
|
});
|
|
77
|
+
for (const r of relevant) {
|
|
78
|
+
if (r.note.type === "lesson" || r.note.type === "solution") {
|
|
79
|
+
try {
|
|
80
|
+
touchNote(path.join(vault.root, r.note.rel));
|
|
81
|
+
} catch {
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
77
85
|
}
|
|
78
86
|
const dupe = rawResults.find((r) => r.note.type === "prompt" && r.cosine >= DEDUP_COSINE);
|
|
79
87
|
if (dupe) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ureck/alexandria",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "Alexandria — bóveda de conocimiento local para agentes de IA (Claude Code, Cursor, OpenCode, Windsurf y más): captura automática, búsqueda semántica offline y grafo de conexiones estilo Obsidian. Ahorra tokens inyectando solo el contexto relevante.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|