@absolutejs/voice 0.0.22-beta.494 → 0.0.22-beta.496
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/agent.d.ts +12 -0
- package/dist/angular/index.d.ts +2 -0
- package/dist/angular/index.js +2992 -2813
- package/dist/angular/voice-widget.service.d.ts +18 -0
- package/dist/client/voiceWidgetView.d.ts +50 -0
- package/dist/index.js +42 -1
- package/dist/react/VoiceWidget.d.ts +4 -24
- package/dist/react/index.js +143 -84
- package/dist/svelte/createVoiceWidget.d.ts +19 -0
- package/dist/svelte/index.d.ts +2 -0
- package/dist/svelte/index.js +5341 -5182
- package/dist/testing/index.js +6 -0
- package/dist/types.d.ts +2 -0
- package/dist/vue/VoiceWidget.d.ts +77 -0
- package/dist/vue/index.d.ts +2 -0
- package/dist/vue/index.js +216 -0
- package/package.json +1 -1
package/dist/agent.d.ts
CHANGED
|
@@ -3,7 +3,19 @@ import type { VoiceTraceEventStore } from "./trace";
|
|
|
3
3
|
import type { VoiceToolRuntime } from "./toolRuntime";
|
|
4
4
|
import { type VoiceAuditEventStore, type VoiceAuditLogger } from "./audit";
|
|
5
5
|
export type VoiceAgentMessageRole = "assistant" | "system" | "tool" | "user";
|
|
6
|
+
export type VoiceAgentImageMediaType = "image/gif" | "image/jpeg" | "image/png" | "image/webp";
|
|
7
|
+
export type VoiceAgentMessageAttachment = {
|
|
8
|
+
data: string;
|
|
9
|
+
kind: "image";
|
|
10
|
+
mediaType: VoiceAgentImageMediaType;
|
|
11
|
+
} | {
|
|
12
|
+
data: string;
|
|
13
|
+
kind: "document";
|
|
14
|
+
mediaType: "application/pdf";
|
|
15
|
+
name?: string;
|
|
16
|
+
};
|
|
6
17
|
export type VoiceAgentMessage = {
|
|
18
|
+
attachments?: VoiceAgentMessageAttachment[];
|
|
7
19
|
content: string;
|
|
8
20
|
metadata?: Record<string, unknown>;
|
|
9
21
|
name?: string;
|
package/dist/angular/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { VoiceOpsStatusService } from "./voice-ops-status.service";
|
|
2
|
+
export { VoiceWidgetService } from "./voice-widget.service";
|
|
3
|
+
export type { CreateVoiceWidgetServiceOptions } from "./voice-widget.service";
|
|
2
4
|
export { VoicePlatformCoverageService } from "./voice-platform-coverage.service";
|
|
3
5
|
export { VoiceProofTrendsService } from "./voice-proof-trends.service";
|
|
4
6
|
export { VoiceReconnectProfileEvidenceService } from "./voice-reconnect-profile-evidence.service";
|