@usewhisper/sdk 3.5.0 → 3.6.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/index.d.mts +7 -0
- package/index.d.ts +7 -0
- package/index.js +514 -495
- package/index.mjs +514 -495
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -77,6 +77,7 @@ interface RememberResult {
|
|
|
77
77
|
*/
|
|
78
78
|
declare class Whisper {
|
|
79
79
|
private client;
|
|
80
|
+
private runtimeClient;
|
|
80
81
|
private options;
|
|
81
82
|
private sessionId?;
|
|
82
83
|
private userId?;
|
|
@@ -1212,6 +1213,12 @@ interface QueryResult {
|
|
|
1212
1213
|
cache_hit: boolean;
|
|
1213
1214
|
tokens_used: number;
|
|
1214
1215
|
context_hash: string;
|
|
1216
|
+
source_scope?: {
|
|
1217
|
+
mode: "none" | "explicit" | "auto";
|
|
1218
|
+
source_ids: string[];
|
|
1219
|
+
host?: string;
|
|
1220
|
+
matched_sources?: number;
|
|
1221
|
+
};
|
|
1215
1222
|
profile?: string;
|
|
1216
1223
|
compression?: any;
|
|
1217
1224
|
timing?: {
|
package/index.d.ts
CHANGED
|
@@ -77,6 +77,7 @@ interface RememberResult {
|
|
|
77
77
|
*/
|
|
78
78
|
declare class Whisper {
|
|
79
79
|
private client;
|
|
80
|
+
private runtimeClient;
|
|
80
81
|
private options;
|
|
81
82
|
private sessionId?;
|
|
82
83
|
private userId?;
|
|
@@ -1212,6 +1213,12 @@ interface QueryResult {
|
|
|
1212
1213
|
cache_hit: boolean;
|
|
1213
1214
|
tokens_used: number;
|
|
1214
1215
|
context_hash: string;
|
|
1216
|
+
source_scope?: {
|
|
1217
|
+
mode: "none" | "explicit" | "auto";
|
|
1218
|
+
source_ids: string[];
|
|
1219
|
+
host?: string;
|
|
1220
|
+
matched_sources?: number;
|
|
1221
|
+
};
|
|
1215
1222
|
profile?: string;
|
|
1216
1223
|
compression?: any;
|
|
1217
1224
|
timing?: {
|