@memnexus-ai/typescript-sdk 1.50.1 → 1.51.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.d.cts CHANGED
@@ -399,6 +399,8 @@ declare const memory: z.ZodObject<{
399
399
  declare const createMemoryRequest: z.ZodObject<{
400
400
  /** Conversation ID - use "NEW" to create a new conversation or provide existing conversation ID */
401
401
  conversationId: z.ZodString;
402
+ /** 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. */
403
+ claudeSessionId: z.ZodOptional<z.ZodString>;
402
404
  /** Optional human-readable name for deterministic retrieval. Must be unique per user. */
403
405
  name: z.ZodOptional<z.ZodString>;
404
406
  /** Memory content */
@@ -427,6 +429,7 @@ declare const createMemoryRequest: z.ZodObject<{
427
429
  eventTime?: string | undefined;
428
430
  validFrom?: string | undefined;
429
431
  validTo?: string | undefined;
432
+ claudeSessionId?: string | undefined;
430
433
  role?: "user" | "assistant" | "system" | undefined;
431
434
  }, {
432
435
  content: string;
@@ -438,6 +441,7 @@ declare const createMemoryRequest: z.ZodObject<{
438
441
  eventTime?: string | undefined;
439
442
  validFrom?: string | undefined;
440
443
  validTo?: string | undefined;
444
+ claudeSessionId?: string | undefined;
441
445
  role?: "user" | "assistant" | "system" | undefined;
442
446
  }>;
443
447
  declare const updateMemoryRequest: z.ZodObject<{
@@ -6520,6 +6524,7 @@ declare class MemoriesService extends BaseService {
6520
6524
  */
6521
6525
  createMemory(body: {
6522
6526
  conversationId: string;
6527
+ claudeSessionId?: string;
6523
6528
  name?: string;
6524
6529
  content: string;
6525
6530
  memoryType?: 'episodic' | 'semantic' | 'procedural';
package/dist/index.d.ts CHANGED
@@ -399,6 +399,8 @@ declare const memory: z.ZodObject<{
399
399
  declare const createMemoryRequest: z.ZodObject<{
400
400
  /** Conversation ID - use "NEW" to create a new conversation or provide existing conversation ID */
401
401
  conversationId: z.ZodString;
402
+ /** 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. */
403
+ claudeSessionId: z.ZodOptional<z.ZodString>;
402
404
  /** Optional human-readable name for deterministic retrieval. Must be unique per user. */
403
405
  name: z.ZodOptional<z.ZodString>;
404
406
  /** Memory content */
@@ -427,6 +429,7 @@ declare const createMemoryRequest: z.ZodObject<{
427
429
  eventTime?: string | undefined;
428
430
  validFrom?: string | undefined;
429
431
  validTo?: string | undefined;
432
+ claudeSessionId?: string | undefined;
430
433
  role?: "user" | "assistant" | "system" | undefined;
431
434
  }, {
432
435
  content: string;
@@ -438,6 +441,7 @@ declare const createMemoryRequest: z.ZodObject<{
438
441
  eventTime?: string | undefined;
439
442
  validFrom?: string | undefined;
440
443
  validTo?: string | undefined;
444
+ claudeSessionId?: string | undefined;
441
445
  role?: "user" | "assistant" | "system" | undefined;
442
446
  }>;
443
447
  declare const updateMemoryRequest: z.ZodObject<{
@@ -6520,6 +6524,7 @@ declare class MemoriesService extends BaseService {
6520
6524
  */
6521
6525
  createMemory(body: {
6522
6526
  conversationId: string;
6527
+ claudeSessionId?: string;
6523
6528
  name?: string;
6524
6529
  content: string;
6525
6530
  memoryType?: 'episodic' | 'semantic' | 'procedural';
package/dist/index.js CHANGED
@@ -4773,6 +4773,8 @@ var memory = z.object({
4773
4773
  var createMemoryRequest = z.object({
4774
4774
  /** Conversation ID - use "NEW" to create a new conversation or provide existing conversation ID */
4775
4775
  conversationId: z.string().min(1),
4776
+ /** 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. */
4777
+ claudeSessionId: z.string().max(200).optional(),
4776
4778
  /** Optional human-readable name for deterministic retrieval. Must be unique per user. */
4777
4779
  name: z.string().regex(/^[a-z0-9][a-z0-9-]{0,62}[a-z0-9]$/).optional(),
4778
4780
  /** Memory content */