@vibes.diy/call-ai-v2 14.3.402 → 14.3.403

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/call-ai-v2",
3
- "version": "14.3.402",
3
+ "version": "14.3.403",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -15,7 +15,7 @@
15
15
  "license": "SEE LICENSE IN LICENSE.md",
16
16
  "dependencies": {
17
17
  "@adviser/cement": "~0.5.37",
18
- "@vibes.diy/identity": "14.3.402",
18
+ "@vibes.diy/identity": "14.3.403",
19
19
  "arktype": "~2.2.9",
20
20
  "cmd-ts": "~0.15.0",
21
21
  "mime": "~4.1.2",
package/prompt-type.d.ts CHANGED
@@ -75,6 +75,14 @@ export declare const VibesFileContent: import("arktype/internal/variants/object.
75
75
  size?: number | undefined;
76
76
  }, {}>;
77
77
  export type VibesFileContent = typeof VibesFileContent.infer;
78
+ export declare const InputAudioContent: import("arktype/internal/variants/object.ts").ObjectType<{
79
+ type: "input_audio";
80
+ input_audio: {
81
+ data: string;
82
+ format: string;
83
+ };
84
+ }, {}>;
85
+ export type InputAudioContent = typeof InputAudioContent.infer;
78
86
  export declare const MessageContent: import("arktype/internal/variants/object.ts").ObjectType<{
79
87
  type: "text";
80
88
  text: string;
@@ -99,6 +107,12 @@ export declare const MessageContent: import("arktype/internal/variants/object.ts
99
107
  kind: "image" | "text";
100
108
  originalUploadId?: string | undefined;
101
109
  size?: number | undefined;
110
+ } | {
111
+ type: "input_audio";
112
+ input_audio: {
113
+ data: string;
114
+ format: string;
115
+ };
102
116
  }, {}>;
103
117
  export type MessageContent = typeof MessageContent.infer;
104
118
  export declare const ChatMessage: import("arktype/internal/variants/object.ts").ObjectType<{
@@ -127,6 +141,12 @@ export declare const ChatMessage: import("arktype/internal/variants/object.ts").
127
141
  kind: "image" | "text";
128
142
  originalUploadId?: string | undefined;
129
143
  size?: number | undefined;
144
+ } | {
145
+ type: "input_audio";
146
+ input_audio: {
147
+ data: string;
148
+ format: string;
149
+ };
130
150
  })[];
131
151
  }, {}>;
132
152
  export type ChatMessage = typeof ChatMessage.infer;
@@ -175,6 +195,12 @@ export declare const LLMMessage: import("arktype/internal/variants/object.ts").O
175
195
  kind: "image" | "text";
176
196
  originalUploadId?: string | undefined;
177
197
  size?: number | undefined;
198
+ } | {
199
+ type: "input_audio";
200
+ input_audio: {
201
+ data: string;
202
+ format: string;
203
+ };
178
204
  })[];
179
205
  } | {
180
206
  role: "assistant";
@@ -221,6 +247,12 @@ export declare const LLMRequest: import("arktype/internal/variants/object.ts").O
221
247
  kind: "image" | "text";
222
248
  originalUploadId?: string | undefined;
223
249
  size?: number | undefined;
250
+ } | {
251
+ type: "input_audio";
252
+ input_audio: {
253
+ data: string;
254
+ format: string;
255
+ };
224
256
  })[];
225
257
  } | {
226
258
  role: "assistant";
package/prompt-type.js CHANGED
@@ -56,7 +56,14 @@ export const VibesFileContent = lazyType(() => type({
56
56
  "originalUploadId?": "string",
57
57
  "size?": "number",
58
58
  }));
59
- export const MessageContent = lazyType(() => TextContent.or(ImageUrlContent).or(VibesFileContent));
59
+ export const InputAudioContent = lazyType(() => type({
60
+ type: "'input_audio'",
61
+ input_audio: type({
62
+ data: "string",
63
+ format: "string",
64
+ }),
65
+ }));
66
+ export const MessageContent = lazyType(() => TextContent.or(ImageUrlContent).or(VibesFileContent).or(InputAudioContent));
60
67
  export const ChatMessage = lazyType(() => type({
61
68
  role: "'system' | 'user' | 'assistant'",
62
69
  content: MessageContent.array(),