@memnexus-ai/typescript-sdk 1.50.1 → 1.52.0
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/index.cjs +15 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2121,6 +2121,7 @@ var MemoriesService = class extends BaseService {
|
|
|
2121
2121
|
* @param explain - Include detailed match explanations in results
|
|
2122
2122
|
* @param includeTopics - Include associated topics in results
|
|
2123
2123
|
* @param includeEntities - Include mentioned entities in results
|
|
2124
|
+
* @param includeFacts - Include extracted facts in results
|
|
2124
2125
|
* @param asOfTime - Point-in-time query (ISO 8601 datetime)
|
|
2125
2126
|
* @param validAtTime - Filter by validity time (ISO 8601 datetime)
|
|
2126
2127
|
* @param eventTimeFrom - Event time range start (ISO 8601 datetime)
|
|
@@ -2333,6 +2334,18 @@ var MemoriesService = class extends BaseService {
|
|
|
2333
2334
|
isCursor: false
|
|
2334
2335
|
});
|
|
2335
2336
|
}
|
|
2337
|
+
if (options?.includeFacts !== void 0) {
|
|
2338
|
+
request.addQueryParam("includeFacts", {
|
|
2339
|
+
key: "includeFacts",
|
|
2340
|
+
value: options.includeFacts,
|
|
2341
|
+
explode: false,
|
|
2342
|
+
encode: true,
|
|
2343
|
+
style: "form",
|
|
2344
|
+
isLimit: false,
|
|
2345
|
+
isOffset: false,
|
|
2346
|
+
isCursor: false
|
|
2347
|
+
});
|
|
2348
|
+
}
|
|
2336
2349
|
if (options?.asOfTime !== void 0) {
|
|
2337
2350
|
request.addQueryParam("asOfTime", {
|
|
2338
2351
|
key: "asOfTime",
|
|
@@ -4898,6 +4911,8 @@ var memory = import_zod.z.object({
|
|
|
4898
4911
|
var createMemoryRequest = import_zod.z.object({
|
|
4899
4912
|
/** Conversation ID - use "NEW" to create a new conversation or provide existing conversation ID */
|
|
4900
4913
|
conversationId: import_zod.z.string().min(1),
|
|
4914
|
+
/** AI agent session ID (e.g. Claude Code session UUID). When provided with conversationId "NEW", reuses the existing conversation for this session instead of creating a new one. */
|
|
4915
|
+
claudeSessionId: import_zod.z.string().max(200).optional(),
|
|
4901
4916
|
/** Optional human-readable name for deterministic retrieval. Must be unique per user. */
|
|
4902
4917
|
name: import_zod.z.string().regex(/^[a-z0-9][a-z0-9-]{0,62}[a-z0-9]$/).optional(),
|
|
4903
4918
|
/** Memory content */
|