@jacklika/dsh-memory-curator 0.1.0-alpha.8 → 0.1.0-alpha.9

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 +2 -0
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -180,6 +180,7 @@ export function apply(ctx, config) {
180
180
  // any auto-capture hits made it into the capped `hits` list, remove them
181
181
  // from the total so curated numbers stay truthful.
182
182
  const total = search.total - (search.hits.length - curated.length);
183
+ ctx.logger?.debug(`memory-curator: recall query=${args.query} hits=${curated.length} total=${total}`);
183
184
  return {
184
185
  query: args.query,
185
186
  hits: curated.slice(0, 20),
@@ -291,6 +292,7 @@ export function apply(ctx, config) {
291
292
  const appendContent = `${args.summary}${detailsText}\n`;
292
293
  const appending = conflictExists && mode === 'append';
293
294
  const writeMode = appending ? 'append' : 'overwrite';
295
+ ctx.logger?.debug(`memory-curator: capture target=${finalId} conflicts=${conflicts.length} writeMode=${writeMode}`);
294
296
  const frontmatter = appending ? undefined : await overwriteFrontmatter(ctx, exec, finalId, args.title, tags, now);
295
297
  const content = appending
296
298
  ? appendContent
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.8",
4
+ "version": "0.1.0-alpha.9",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },