@voidwire/lore 0.6.2 → 0.6.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.
Files changed (2) hide show
  1. package/lib/realtime.ts +3 -1
  2. package/package.json +1 -1
package/lib/realtime.ts CHANGED
@@ -161,11 +161,13 @@ function buildMetadata(event: CaptureEvent): string {
161
161
  const timestamp = event.timestamp;
162
162
  const date = timestamp ? timestamp.substring(0, 10) : "";
163
163
 
164
+ const content = getContentForEmbedding(event);
164
165
  const metadata: Record<string, unknown> = {
165
166
  topic: data.topic || "general",
166
167
  timestamp,
167
168
  date,
168
- content: getContentForEmbedding(event),
169
+ content,
170
+ content_hash: hashContent(content),
169
171
  };
170
172
 
171
173
  // Add type-specific fields
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voidwire/lore",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Unified knowledge CLI - Search, list, and capture your indexed knowledge",
5
5
  "type": "module",
6
6
  "main": "./index.ts",