@hyperdrive.bot/paseo-protocol 0.3.48 → 0.3.53
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/messages.d.ts +8 -0
- package/dist/messages.js +12 -0
- package/package.json +1 -1
package/dist/messages.d.ts
CHANGED
|
@@ -1189,6 +1189,7 @@ export declare const SetVoiceModeMessageSchema: z.ZodObject<{
|
|
|
1189
1189
|
enabled: z.ZodBoolean;
|
|
1190
1190
|
agentId: z.ZodOptional<z.ZodString>;
|
|
1191
1191
|
requestId: z.ZodOptional<z.ZodString>;
|
|
1192
|
+
language: z.ZodOptional<z.ZodString>;
|
|
1192
1193
|
}, z.core.$strip>;
|
|
1193
1194
|
export declare const GitHubPrAttachmentSchema: z.ZodObject<{
|
|
1194
1195
|
type: z.ZodLiteral<"github_pr">;
|
|
@@ -1801,6 +1802,7 @@ export declare const DictationStreamStartMessageSchema: z.ZodObject<{
|
|
|
1801
1802
|
type: z.ZodLiteral<"dictation_stream_start">;
|
|
1802
1803
|
dictationId: z.ZodString;
|
|
1803
1804
|
format: z.ZodString;
|
|
1805
|
+
language: z.ZodOptional<z.ZodString>;
|
|
1804
1806
|
}, z.core.$strip>;
|
|
1805
1807
|
export declare const DictationStreamChunkMessageSchema: z.ZodObject<{
|
|
1806
1808
|
type: z.ZodLiteral<"dictation_stream_chunk">;
|
|
@@ -3808,6 +3810,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
3808
3810
|
enabled: z.ZodBoolean;
|
|
3809
3811
|
agentId: z.ZodOptional<z.ZodString>;
|
|
3810
3812
|
requestId: z.ZodOptional<z.ZodString>;
|
|
3813
|
+
language: z.ZodOptional<z.ZodString>;
|
|
3811
3814
|
}, z.core.$strip>, z.ZodObject<{
|
|
3812
3815
|
type: z.ZodLiteral<"send_agent_message_request">;
|
|
3813
3816
|
requestId: z.ZodString;
|
|
@@ -4061,6 +4064,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
4061
4064
|
type: z.ZodLiteral<"dictation_stream_start">;
|
|
4062
4065
|
dictationId: z.ZodString;
|
|
4063
4066
|
format: z.ZodString;
|
|
4067
|
+
language: z.ZodOptional<z.ZodString>;
|
|
4064
4068
|
}, z.core.$strip>, z.ZodObject<{
|
|
4065
4069
|
type: z.ZodLiteral<"dictation_stream_chunk">;
|
|
4066
4070
|
dictationId: z.ZodString;
|
|
@@ -21182,6 +21186,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
21182
21186
|
enabled: z.ZodBoolean;
|
|
21183
21187
|
agentId: z.ZodOptional<z.ZodString>;
|
|
21184
21188
|
requestId: z.ZodOptional<z.ZodString>;
|
|
21189
|
+
language: z.ZodOptional<z.ZodString>;
|
|
21185
21190
|
}, z.core.$strip>, z.ZodObject<{
|
|
21186
21191
|
type: z.ZodLiteral<"send_agent_message_request">;
|
|
21187
21192
|
requestId: z.ZodString;
|
|
@@ -21435,6 +21440,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
|
|
|
21435
21440
|
type: z.ZodLiteral<"dictation_stream_start">;
|
|
21436
21441
|
dictationId: z.ZodString;
|
|
21437
21442
|
format: z.ZodString;
|
|
21443
|
+
language: z.ZodOptional<z.ZodString>;
|
|
21438
21444
|
}, z.core.$strip>, z.ZodObject<{
|
|
21439
21445
|
type: z.ZodLiteral<"dictation_stream_chunk">;
|
|
21440
21446
|
dictationId: z.ZodString;
|
|
@@ -30810,6 +30816,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
30810
30816
|
enabled: z.ZodBoolean;
|
|
30811
30817
|
agentId: z.ZodOptional<z.ZodString>;
|
|
30812
30818
|
requestId: z.ZodOptional<z.ZodString>;
|
|
30819
|
+
language: z.ZodOptional<z.ZodString>;
|
|
30813
30820
|
}, z.core.$strip>, z.ZodObject<{
|
|
30814
30821
|
type: z.ZodLiteral<"send_agent_message_request">;
|
|
30815
30822
|
requestId: z.ZodString;
|
|
@@ -31063,6 +31070,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
31063
31070
|
type: z.ZodLiteral<"dictation_stream_start">;
|
|
31064
31071
|
dictationId: z.ZodString;
|
|
31065
31072
|
format: z.ZodString;
|
|
31073
|
+
language: z.ZodOptional<z.ZodString>;
|
|
31066
31074
|
}, z.core.$strip>, z.ZodObject<{
|
|
31067
31075
|
type: z.ZodLiteral<"dictation_stream_chunk">;
|
|
31068
31076
|
dictationId: z.ZodString;
|
package/dist/messages.js
CHANGED
|
@@ -1104,6 +1104,12 @@ export const SetVoiceModeMessageSchema = z.object({
|
|
|
1104
1104
|
enabled: z.boolean(),
|
|
1105
1105
|
agentId: z.string().optional(),
|
|
1106
1106
|
requestId: z.string().optional(),
|
|
1107
|
+
// BCP-47 tag for the language being SPOKEN into this device's microphone.
|
|
1108
|
+
// Sent when voice mode is turned on, and applies for as long as it stays on.
|
|
1109
|
+
// Per-device rather than per-session by design: the same agent can be open on
|
|
1110
|
+
// a phone and a desktop with different microphones. Absent falls back to the
|
|
1111
|
+
// daemon's configured voice STT language.
|
|
1112
|
+
language: z.string().optional(),
|
|
1107
1113
|
});
|
|
1108
1114
|
export const GitHubPrAttachmentSchema = z.object({
|
|
1109
1115
|
type: z.literal("github_pr"),
|
|
@@ -1389,6 +1395,12 @@ export const DictationStreamStartMessageSchema = z.object({
|
|
|
1389
1395
|
type: z.literal("dictation_stream_start"),
|
|
1390
1396
|
dictationId: z.string(),
|
|
1391
1397
|
format: z.string(), // e.g. "audio/pcm;rate=16000;bits=16"
|
|
1398
|
+
// BCP-47 tag for the language being SPOKEN into this microphone. Optional and
|
|
1399
|
+
// per-stream on purpose: it describes the device holding the mic, not the
|
|
1400
|
+
// session, so it travels with the audio instead of being stored anywhere
|
|
1401
|
+
// shared. When absent the daemon falls back to its configured STT language,
|
|
1402
|
+
// which is the pre-existing behaviour.
|
|
1403
|
+
language: z.string().optional(),
|
|
1392
1404
|
});
|
|
1393
1405
|
export const DictationStreamChunkMessageSchema = z.object({
|
|
1394
1406
|
type: z.literal("dictation_stream_chunk"),
|