@jacklika/dsh-memory-curator 0.1.0-alpha.6 → 0.1.0-alpha.7

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.
Files changed (2) hide show
  1. package/lib/index.js +4 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -172,8 +172,10 @@ export function apply(ctx, config) {
172
172
  const search = await callTool(ctx, exec, 'wiki_search', { query: args.query });
173
173
  // Mechanical per-turn summaries are useful for session replay, but they
174
174
  // are not curated knowledge. Keep them out of proactive recall unless a
175
- // caller explicitly searches the wiki.
176
- const curated = search.hits.filter(hit => !hit.id.startsWith('shared/notes/auto-capture/'));
175
+ // caller explicitly searches the wiki. The prefix covers both the legacy
176
+ // flat form `auto-capture-<session>.md` and the new isolated subdir
177
+ // `auto-capture/<session>.md`.
178
+ const curated = search.hits.filter(hit => !hit.id.startsWith('shared/notes/auto-capture'));
177
179
  // `search.total` is the vault-wide count before the search-layer cap. If
178
180
  // any auto-capture hits made it into the capped `hits` list, remove them
179
181
  // from the total so curated numbers stay truthful.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jacklika/dsh-memory-curator",
3
3
  "description": "Curator tools for the DSH memory vault: memory_recall before acting and memory_capture after significant work, with conflict detection and optional user approval.",
4
- "version": "0.1.0-alpha.6",
4
+ "version": "0.1.0-alpha.7",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },