novyx 2.2.0 → 2.3.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.mts CHANGED
@@ -56,6 +56,7 @@ declare class NovyxSession {
56
56
  space_id?: string;
57
57
  metadata?: Record<string, any>;
58
58
  ttl_seconds?: number;
59
+ auto_link?: boolean;
59
60
  }): Promise<Record<string, any>>;
60
61
  recall(query: string, opts?: {
61
62
  limit?: number;
@@ -102,6 +103,7 @@ declare class Novyx {
102
103
  space_id?: string;
103
104
  metadata?: Record<string, any>;
104
105
  ttl_seconds?: number;
106
+ auto_link?: boolean;
105
107
  }): Promise<Record<string, any>>;
106
108
  recall(query: string, opts?: {
107
109
  limit?: number;
package/dist/index.d.ts CHANGED
@@ -56,6 +56,7 @@ declare class NovyxSession {
56
56
  space_id?: string;
57
57
  metadata?: Record<string, any>;
58
58
  ttl_seconds?: number;
59
+ auto_link?: boolean;
59
60
  }): Promise<Record<string, any>>;
60
61
  recall(query: string, opts?: {
61
62
  limit?: number;
@@ -102,6 +103,7 @@ declare class Novyx {
102
103
  space_id?: string;
103
104
  metadata?: Record<string, any>;
104
105
  ttl_seconds?: number;
106
+ auto_link?: boolean;
105
107
  }): Promise<Record<string, any>>;
106
108
  recall(query: string, opts?: {
107
109
  limit?: number;
package/dist/index.js CHANGED
@@ -213,6 +213,7 @@ var Novyx = class {
213
213
  if (resolvedAgentId) body.agent_id = resolvedAgentId;
214
214
  if (opts?.space_id) body.space_id = opts.space_id;
215
215
  if (opts?.ttl_seconds !== void 0) body.ttl_seconds = opts.ttl_seconds;
216
+ if (opts?.auto_link) body.auto_link = true;
216
217
  if (opts?.context) {
217
218
  body.context = opts.context;
218
219
  } else if (opts?.metadata) {
package/dist/index.mjs CHANGED
@@ -180,6 +180,7 @@ var Novyx = class {
180
180
  if (resolvedAgentId) body.agent_id = resolvedAgentId;
181
181
  if (opts?.space_id) body.space_id = opts.space_id;
182
182
  if (opts?.ttl_seconds !== void 0) body.ttl_seconds = opts.ttl_seconds;
183
+ if (opts?.auto_link) body.auto_link = true;
183
184
  if (opts?.context) {
184
185
  body.context = opts.context;
185
186
  } else if (opts?.metadata) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "novyx",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "Novyx SDK - Persistent memory, rollback, and audit trail for AI agents",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",