@1interface/chat-shell 0.3.2 → 0.4.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +16 -4
  2. package/package.json +5 -5
package/dist/index.d.ts CHANGED
@@ -95,7 +95,9 @@ messageQueue: {
95
95
  id: string;
96
96
  text: string;
97
97
  queuedAt: string;
98
+ transcriptionIds?: string[];
98
99
  }[];
100
+ pendingTranscriptionIds: string[];
99
101
  };
100
102
  conversations: {
101
103
  activeConversationId: string | null;
@@ -124,12 +126,13 @@ protocol: ProtocolType;
124
126
  body?: any;
125
127
  }, BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError>, "chat" | "toolServers", any, "chatApi", unknown>;
126
128
  transcribeAudio: MutationDefinition< {
129
+ conversationId: string;
127
130
  audioFile: File;
128
131
  }, BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError>, "chat" | "toolServers", {
129
132
  success: boolean;
130
133
  data: {
131
134
  text: string;
132
- filename?: string;
135
+ transcription_id: string;
133
136
  };
134
137
  }, "chatApi", unknown>;
135
138
  getToolServers: QueryDefinition<void, BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError>, "chat" | "toolServers", {
@@ -168,7 +171,9 @@ messageQueue: {
168
171
  id: string;
169
172
  text: string;
170
173
  queuedAt: string;
174
+ transcriptionIds?: string[];
171
175
  }[];
176
+ pendingTranscriptionIds: string[];
172
177
  };
173
178
  conversations: {
174
179
  activeConversationId: string | null;
@@ -197,12 +202,13 @@ protocol: ProtocolType;
197
202
  body?: any;
198
203
  }, BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError>, "chat" | "toolServers", any, "chatApi", unknown>;
199
204
  transcribeAudio: MutationDefinition< {
205
+ conversationId: string;
200
206
  audioFile: File;
201
207
  }, BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError>, "chat" | "toolServers", {
202
208
  success: boolean;
203
209
  data: {
204
210
  text: string;
205
- filename?: string;
211
+ transcription_id: string;
206
212
  };
207
213
  }, "chatApi", unknown>;
208
214
  getToolServers: QueryDefinition<void, BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError>, "chat" | "toolServers", {
@@ -259,7 +265,9 @@ messageQueue: {
259
265
  id: string;
260
266
  text: string;
261
267
  queuedAt: string;
268
+ transcriptionIds?: string[];
262
269
  }[];
270
+ pendingTranscriptionIds: string[];
263
271
  };
264
272
  conversations: {
265
273
  activeConversationId: string | null;
@@ -288,12 +296,13 @@ protocol: ProtocolType;
288
296
  body?: any;
289
297
  }, BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError>, "chat" | "toolServers", any, "chatApi", unknown>;
290
298
  transcribeAudio: MutationDefinition< {
299
+ conversationId: string;
291
300
  audioFile: File;
292
301
  }, BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError>, "chat" | "toolServers", {
293
302
  success: boolean;
294
303
  data: {
295
304
  text: string;
296
- filename?: string;
305
+ transcription_id: string;
297
306
  };
298
307
  }, "chatApi", unknown>;
299
308
  getToolServers: QueryDefinition<void, BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError>, "chat" | "toolServers", {
@@ -333,7 +342,9 @@ messageQueue: {
333
342
  id: string;
334
343
  text: string;
335
344
  queuedAt: string;
345
+ transcriptionIds?: string[];
336
346
  }[];
347
+ pendingTranscriptionIds: string[];
337
348
  };
338
349
  conversations: {
339
350
  activeConversationId: string | null;
@@ -362,12 +373,13 @@ protocol: ProtocolType;
362
373
  body?: any;
363
374
  }, BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError>, "chat" | "toolServers", any, "chatApi", unknown>;
364
375
  transcribeAudio: MutationDefinition< {
376
+ conversationId: string;
365
377
  audioFile: File;
366
378
  }, BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError>, "chat" | "toolServers", {
367
379
  success: boolean;
368
380
  data: {
369
381
  text: string;
370
- filename?: string;
382
+ transcription_id: string;
371
383
  };
372
384
  }, "chatApi", unknown>;
373
385
  getToolServers: QueryDefinition<void, BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError>, "chat" | "toolServers", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1interface/chat-shell",
3
- "version": "0.3.2",
3
+ "version": "0.4.0",
4
4
  "license": "UNLICENSED",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -51,11 +51,11 @@
51
51
  "lucide-react": "^0.562.0",
52
52
  "streamdown": "^1.6.11",
53
53
  "tailwind-merge": "^3.6.0",
54
- "@1interface/chat-core": "^0.2.4",
55
- "@1interface/shared-core": "^0.2.2",
54
+ "@1interface/chat-core": "^0.4.0",
55
+ "@1interface/shared-core": "^0.3.0",
56
56
  "@1interface/widgets": "^0.1.0",
57
- "@1interface/voice-core": "^0.3.1",
58
- "@1interface/voice-shell": "^0.3.1"
57
+ "@1interface/voice-shell": "^0.3.2",
58
+ "@1interface/voice-core": "^0.3.2"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "@reduxjs/toolkit": "^2.0.0",