@gravity-rail/sdk 0.57.0 → 0.57.1
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/agui.d.cts +3 -2
- package/dist/agui.d.ts +3 -2
- package/dist/audio.d.cts +3 -2
- package/dist/audio.d.ts +3 -2
- package/dist/{chat-interaction-Bs0O3lwb.d.cts → chat-interaction-BlORjFix.d.cts} +56 -28
- package/dist/{chat-interaction-dRnhgwb-.d.ts → chat-interaction-DyQjxoyc.d.ts} +56 -28
- package/dist/{chunk-7ABBH5CC.js → chunk-YDC4OVZE.js} +16 -1
- package/dist/chunk-YDC4OVZE.js.map +1 -0
- package/dist/helpers.d.cts +6 -5
- package/dist/helpers.d.ts +6 -5
- package/dist/index.cjs +15 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -7
- package/dist/index.d.ts +9 -7
- package/dist/index.js +1 -1
- package/dist/internal.cjs +15 -0
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +7 -6
- package/dist/internal.d.ts +7 -6
- package/dist/internal.js +1 -1
- package/dist/{member-import-C9XwZqm4.d.cts → member-import-B8nsRMD9.d.cts} +1 -1
- package/dist/{member-import-CdXiqRFM.d.ts → member-import-l7j087-X.d.ts} +1 -1
- package/dist/{path-B08DHrW4.d.ts → path-BKKAG8ti.d.cts} +4 -3
- package/dist/{path-6wcAgEJR.d.cts → path-CdqBYuYi.d.ts} +4 -3
- package/dist/realtime.d.cts +4 -3
- package/dist/realtime.d.ts +4 -3
- package/dist/schemas.d.cts +67 -65
- package/dist/schemas.d.ts +67 -65
- package/dist/{tasks-BPvueNi2.d.cts → tasks-By6Bzhwy.d.cts} +17 -14
- package/dist/{tasks-BPvueNi2.d.ts → tasks-By6Bzhwy.d.ts} +17 -14
- package/dist/{types-DlfADjPR.d.cts → types-BXaWYGHj.d.cts} +2 -1
- package/dist/{types-DlfADjPR.d.ts → types-BXaWYGHj.d.ts} +2 -1
- package/package.json +3 -3
- package/dist/chunk-7ABBH5CC.js.map +0 -1
package/dist/agui.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChannelEvent } from './realtime.cjs';
|
|
2
2
|
|
|
3
3
|
interface TranscriptMessage {
|
|
4
4
|
id: string;
|
|
@@ -22,4 +22,5 @@ declare function mergeChatHistoryWindow<T extends {
|
|
|
22
22
|
id: string;
|
|
23
23
|
}>(existingMessages: T[], fetchedMessages: T[]): T[];
|
|
24
24
|
|
|
25
|
-
export {
|
|
25
|
+
export { applyAguiTextMessageEvent, getAguiTextMessageContent, getAguiTextMessageId, getAguiTextMessageMemberId, getAguiTextMessageRole, mergeChatHistoryWindow };
|
|
26
|
+
export type { TranscriptMessage };
|
package/dist/agui.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChannelEvent } from './realtime.js';
|
|
2
2
|
|
|
3
3
|
interface TranscriptMessage {
|
|
4
4
|
id: string;
|
|
@@ -22,4 +22,5 @@ declare function mergeChatHistoryWindow<T extends {
|
|
|
22
22
|
id: string;
|
|
23
23
|
}>(existingMessages: T[], fetchedMessages: T[]): T[];
|
|
24
24
|
|
|
25
|
-
export {
|
|
25
|
+
export { applyAguiTextMessageEvent, getAguiTextMessageContent, getAguiTextMessageId, getAguiTextMessageMemberId, getAguiTextMessageRole, mergeChatHistoryWindow };
|
|
26
|
+
export type { TranscriptMessage };
|
package/dist/audio.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChannelEvent } from './realtime.cjs';
|
|
2
2
|
|
|
3
3
|
/** PCM16 helpers aligned with main-app web voice (24 kHz). */
|
|
4
4
|
declare const SERVER_SAMPLE_RATE = 24000;
|
|
@@ -22,4 +22,5 @@ interface MonitorAudioPlayer {
|
|
|
22
22
|
}
|
|
23
23
|
declare function createMonitorAudioPlayer(): MonitorAudioPlayer;
|
|
24
24
|
|
|
25
|
-
export { MONITOR_SAMPLE_RATE,
|
|
25
|
+
export { MONITOR_SAMPLE_RATE, SERVER_SAMPLE_RATE, TARGET_SAMPLE_RATE, base64ToFloat32Array, concatFloat32Arrays, createMonitorAudioPlayer, downsampleAudio, float32ArrayToBase64 };
|
|
26
|
+
export type { MonitorAudioPlayer };
|
package/dist/audio.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChannelEvent } from './realtime.js';
|
|
2
2
|
|
|
3
3
|
/** PCM16 helpers aligned with main-app web voice (24 kHz). */
|
|
4
4
|
declare const SERVER_SAMPLE_RATE = 24000;
|
|
@@ -22,4 +22,5 @@ interface MonitorAudioPlayer {
|
|
|
22
22
|
}
|
|
23
23
|
declare function createMonitorAudioPlayer(): MonitorAudioPlayer;
|
|
24
24
|
|
|
25
|
-
export { MONITOR_SAMPLE_RATE,
|
|
25
|
+
export { MONITOR_SAMPLE_RATE, SERVER_SAMPLE_RATE, TARGET_SAMPLE_RATE, base64ToFloat32Array, concatFloat32Arrays, createMonitorAudioPlayer, downsampleAudio, float32ArrayToBase64 };
|
|
26
|
+
export type { MonitorAudioPlayer };
|