@pyxmate/memory 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pyxmate/memory",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "type": "module",
5
5
  "description": "SDK for pyx-memory — Memory as a Service for AI agents",
6
6
  "license": "MIT",
@@ -240,8 +240,8 @@ curl -s -X POST {{ENDPOINT}}/api/memory/ingest \
240
240
  {"name":"JavaScript","type":"TOOL"}
241
241
  ],
242
242
  "relationships":[
243
- {"from":"Alice","to":"TypeScript","type":"USES"},
244
- {"from":"TypeScript","to":"JavaScript","type":"RELATED_TO"}
243
+ {"source":"Alice","target":"TypeScript","type":"USES"},
244
+ {"source":"TypeScript","target":"JavaScript","type":"RELATED_TO"}
245
245
  ]
246
246
  }'
247
247
  ```
@@ -249,7 +249,7 @@ curl -s -X POST {{ENDPOINT}}/api/memory/ingest \
249
249
  **When to extract**: Always extract when content mentions specific people, tools, technologies, organizations, locations, or events by name. Skip only for abstract observations with no named subjects (e.g., "prefer tabs over spaces").
250
250
 
251
251
  **Entity fields**: `name` (required), `type` (required), `metadata` (optional properties object)
252
- **Relationship fields**: `from` (source entity name), `to` (target entity name), `type` (required)
252
+ **Relationship fields**: `source` (source entity name), `target` (target entity name), `type` (required)
253
253
 
254
254
  ---
255
255