novyx 2.9.2 → 2.10.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 +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +4 -0
- package/dist/index.mjs +4 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -273,6 +273,7 @@ declare class Novyx {
|
|
|
273
273
|
tags?: string[];
|
|
274
274
|
context?: string;
|
|
275
275
|
importance?: number;
|
|
276
|
+
confidence?: number;
|
|
276
277
|
agent_id?: string;
|
|
277
278
|
space_id?: string;
|
|
278
279
|
metadata?: Record<string, any>;
|
|
@@ -340,6 +341,7 @@ declare class Novyx {
|
|
|
340
341
|
traceComplete(traceId: string): Promise<Record<string, any>>;
|
|
341
342
|
traceVerify(traceId: string): Promise<Record<string, any>>;
|
|
342
343
|
usage(): Promise<Record<string, any>>;
|
|
344
|
+
dashboard(): Promise<Record<string, any>>;
|
|
343
345
|
plans(): Promise<Record<string, any>[]>;
|
|
344
346
|
health(): Promise<Record<string, any>>;
|
|
345
347
|
session(sessionId: string): NovyxSession;
|
package/dist/index.d.ts
CHANGED
|
@@ -273,6 +273,7 @@ declare class Novyx {
|
|
|
273
273
|
tags?: string[];
|
|
274
274
|
context?: string;
|
|
275
275
|
importance?: number;
|
|
276
|
+
confidence?: number;
|
|
276
277
|
agent_id?: string;
|
|
277
278
|
space_id?: string;
|
|
278
279
|
metadata?: Record<string, any>;
|
|
@@ -340,6 +341,7 @@ declare class Novyx {
|
|
|
340
341
|
traceComplete(traceId: string): Promise<Record<string, any>>;
|
|
341
342
|
traceVerify(traceId: string): Promise<Record<string, any>>;
|
|
342
343
|
usage(): Promise<Record<string, any>>;
|
|
344
|
+
dashboard(): Promise<Record<string, any>>;
|
|
343
345
|
plans(): Promise<Record<string, any>[]>;
|
|
344
346
|
health(): Promise<Record<string, any>>;
|
|
345
347
|
session(sessionId: string): NovyxSession;
|
package/dist/index.js
CHANGED
|
@@ -210,6 +210,7 @@ var Novyx = class {
|
|
|
210
210
|
tags: opts?.tags ?? [],
|
|
211
211
|
importance: opts?.importance ?? 5
|
|
212
212
|
};
|
|
213
|
+
if (opts?.confidence !== void 0) body.confidence = opts.confidence;
|
|
213
214
|
if (resolvedAgentId) body.agent_id = resolvedAgentId;
|
|
214
215
|
if (opts?.space_id) body.space_id = opts.space_id;
|
|
215
216
|
if (opts?.ttl_seconds !== void 0) body.ttl_seconds = opts.ttl_seconds;
|
|
@@ -391,6 +392,9 @@ var Novyx = class {
|
|
|
391
392
|
async usage() {
|
|
392
393
|
return this._request("GET", "/v1/usage");
|
|
393
394
|
}
|
|
395
|
+
async dashboard() {
|
|
396
|
+
return this._request("GET", "/v1/dashboard");
|
|
397
|
+
}
|
|
394
398
|
async plans() {
|
|
395
399
|
return this._request("GET", "/v1/plans");
|
|
396
400
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -177,6 +177,7 @@ var Novyx = class {
|
|
|
177
177
|
tags: opts?.tags ?? [],
|
|
178
178
|
importance: opts?.importance ?? 5
|
|
179
179
|
};
|
|
180
|
+
if (opts?.confidence !== void 0) body.confidence = opts.confidence;
|
|
180
181
|
if (resolvedAgentId) body.agent_id = resolvedAgentId;
|
|
181
182
|
if (opts?.space_id) body.space_id = opts.space_id;
|
|
182
183
|
if (opts?.ttl_seconds !== void 0) body.ttl_seconds = opts.ttl_seconds;
|
|
@@ -358,6 +359,9 @@ var Novyx = class {
|
|
|
358
359
|
async usage() {
|
|
359
360
|
return this._request("GET", "/v1/usage");
|
|
360
361
|
}
|
|
362
|
+
async dashboard() {
|
|
363
|
+
return this._request("GET", "/v1/dashboard");
|
|
364
|
+
}
|
|
361
365
|
async plans() {
|
|
362
366
|
return this._request("GET", "/v1/plans");
|
|
363
367
|
}
|