@getpaseo/server 0.1.25 → 0.1.26
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/server/client/daemon-client.d.ts +4 -20
- package/dist/server/client/daemon-client.d.ts.map +1 -1
- package/dist/server/client/daemon-client.js +25 -71
- package/dist/server/client/daemon-client.js.map +1 -1
- package/dist/server/server/agent/provider-launch-config.d.ts +11 -0
- package/dist/server/server/agent/provider-launch-config.d.ts.map +1 -1
- package/dist/server/server/agent/provider-launch-config.js +65 -10
- package/dist/server/server/agent/provider-launch-config.js.map +1 -1
- package/dist/server/server/agent/providers/claude-agent.d.ts +0 -1
- package/dist/server/server/agent/providers/claude-agent.d.ts.map +1 -1
- package/dist/server/server/agent/providers/claude-agent.js +27 -58
- package/dist/server/server/agent/providers/claude-agent.js.map +1 -1
- package/dist/server/server/agent/providers/codex-app-server-agent.d.ts.map +1 -1
- package/dist/server/server/agent/providers/codex-app-server-agent.js +49 -8
- package/dist/server/server/agent/providers/codex-app-server-agent.js.map +1 -1
- package/dist/server/server/agent/providers/opencode-agent.d.ts.map +1 -1
- package/dist/server/server/agent/providers/opencode-agent.js +38 -9
- package/dist/server/server/agent/providers/opencode-agent.js.map +1 -1
- package/dist/server/server/bootstrap.d.ts.map +1 -1
- package/dist/server/server/bootstrap.js +10 -3
- package/dist/server/server/bootstrap.js.map +1 -1
- package/dist/server/server/exports.d.ts +1 -0
- package/dist/server/server/exports.d.ts.map +1 -1
- package/dist/server/server/exports.js +1 -0
- package/dist/server/server/exports.js.map +1 -1
- package/dist/server/server/logger.d.ts.map +1 -1
- package/dist/server/server/logger.js +31 -1
- package/dist/server/server/logger.js.map +1 -1
- package/dist/server/server/pid-lock.d.ts +2 -2
- package/dist/server/server/pid-lock.d.ts.map +1 -1
- package/dist/server/server/pid-lock.js +2 -2
- package/dist/server/server/pid-lock.js.map +1 -1
- package/dist/server/server/websocket-server.d.ts +1 -1
- package/dist/server/server/websocket-server.d.ts.map +1 -1
- package/dist/server/server/websocket-server.js +12 -16
- package/dist/server/server/websocket-server.js.map +1 -1
- package/dist/server/shared/messages.d.ts +0 -454
- package/dist/server/shared/messages.d.ts.map +1 -1
- package/dist/server/shared/messages.js +0 -9
- package/dist/server/shared/messages.js.map +1 -1
- package/dist/src/server/agent/provider-launch-config.js +65 -10
- package/dist/src/server/agent/provider-launch-config.js.map +1 -1
- package/dist/src/server/agent/providers/claude-agent.js +27 -58
- package/dist/src/server/agent/providers/claude-agent.js.map +1 -1
- package/dist/src/server/agent/providers/codex-app-server-agent.js +49 -8
- package/dist/src/server/agent/providers/codex-app-server-agent.js.map +1 -1
- package/dist/src/server/agent/providers/opencode-agent.js +38 -9
- package/dist/src/server/agent/providers/opencode-agent.js.map +1 -1
- package/dist/src/server/bootstrap.js +10 -3
- package/dist/src/server/bootstrap.js.map +1 -1
- package/dist/src/server/pid-lock.js +2 -2
- package/dist/src/server/pid-lock.js.map +1 -1
- package/dist/src/server/websocket-server.js +12 -16
- package/dist/src/server/websocket-server.js.map +1 -1
- package/dist/src/shared/messages.js +0 -9
- package/dist/src/shared/messages.js.map +1 -1
- package/package.json +4 -2
|
@@ -19141,233 +19141,6 @@ export declare const WSHelloMessageSchema: z.ZodObject<{
|
|
|
19141
19141
|
pushNotifications: z.ZodOptional<z.ZodBoolean>;
|
|
19142
19142
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
19143
19143
|
}>;
|
|
19144
|
-
export declare const WSWelcomeMessageSchema: z.ZodObject<{
|
|
19145
|
-
type: z.ZodLiteral<"welcome">;
|
|
19146
|
-
serverId: z.ZodString;
|
|
19147
|
-
hostname: z.ZodNullable<z.ZodString>;
|
|
19148
|
-
version: z.ZodNullable<z.ZodString>;
|
|
19149
|
-
resumed: z.ZodBoolean;
|
|
19150
|
-
capabilities: z.ZodOptional<z.ZodObject<{
|
|
19151
|
-
voice: z.ZodOptional<z.ZodObject<{
|
|
19152
|
-
dictation: z.ZodObject<{
|
|
19153
|
-
enabled: z.ZodBoolean;
|
|
19154
|
-
reason: z.ZodString;
|
|
19155
|
-
}, "strip", z.ZodTypeAny, {
|
|
19156
|
-
reason: string;
|
|
19157
|
-
enabled: boolean;
|
|
19158
|
-
}, {
|
|
19159
|
-
reason: string;
|
|
19160
|
-
enabled: boolean;
|
|
19161
|
-
}>;
|
|
19162
|
-
voice: z.ZodObject<{
|
|
19163
|
-
enabled: z.ZodBoolean;
|
|
19164
|
-
reason: z.ZodString;
|
|
19165
|
-
}, "strip", z.ZodTypeAny, {
|
|
19166
|
-
reason: string;
|
|
19167
|
-
enabled: boolean;
|
|
19168
|
-
}, {
|
|
19169
|
-
reason: string;
|
|
19170
|
-
enabled: boolean;
|
|
19171
|
-
}>;
|
|
19172
|
-
}, "strip", z.ZodTypeAny, {
|
|
19173
|
-
dictation: {
|
|
19174
|
-
reason: string;
|
|
19175
|
-
enabled: boolean;
|
|
19176
|
-
};
|
|
19177
|
-
voice: {
|
|
19178
|
-
reason: string;
|
|
19179
|
-
enabled: boolean;
|
|
19180
|
-
};
|
|
19181
|
-
}, {
|
|
19182
|
-
dictation: {
|
|
19183
|
-
reason: string;
|
|
19184
|
-
enabled: boolean;
|
|
19185
|
-
};
|
|
19186
|
-
voice: {
|
|
19187
|
-
reason: string;
|
|
19188
|
-
enabled: boolean;
|
|
19189
|
-
};
|
|
19190
|
-
}>>;
|
|
19191
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
19192
|
-
voice: z.ZodOptional<z.ZodObject<{
|
|
19193
|
-
dictation: z.ZodObject<{
|
|
19194
|
-
enabled: z.ZodBoolean;
|
|
19195
|
-
reason: z.ZodString;
|
|
19196
|
-
}, "strip", z.ZodTypeAny, {
|
|
19197
|
-
reason: string;
|
|
19198
|
-
enabled: boolean;
|
|
19199
|
-
}, {
|
|
19200
|
-
reason: string;
|
|
19201
|
-
enabled: boolean;
|
|
19202
|
-
}>;
|
|
19203
|
-
voice: z.ZodObject<{
|
|
19204
|
-
enabled: z.ZodBoolean;
|
|
19205
|
-
reason: z.ZodString;
|
|
19206
|
-
}, "strip", z.ZodTypeAny, {
|
|
19207
|
-
reason: string;
|
|
19208
|
-
enabled: boolean;
|
|
19209
|
-
}, {
|
|
19210
|
-
reason: string;
|
|
19211
|
-
enabled: boolean;
|
|
19212
|
-
}>;
|
|
19213
|
-
}, "strip", z.ZodTypeAny, {
|
|
19214
|
-
dictation: {
|
|
19215
|
-
reason: string;
|
|
19216
|
-
enabled: boolean;
|
|
19217
|
-
};
|
|
19218
|
-
voice: {
|
|
19219
|
-
reason: string;
|
|
19220
|
-
enabled: boolean;
|
|
19221
|
-
};
|
|
19222
|
-
}, {
|
|
19223
|
-
dictation: {
|
|
19224
|
-
reason: string;
|
|
19225
|
-
enabled: boolean;
|
|
19226
|
-
};
|
|
19227
|
-
voice: {
|
|
19228
|
-
reason: string;
|
|
19229
|
-
enabled: boolean;
|
|
19230
|
-
};
|
|
19231
|
-
}>>;
|
|
19232
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
19233
|
-
voice: z.ZodOptional<z.ZodObject<{
|
|
19234
|
-
dictation: z.ZodObject<{
|
|
19235
|
-
enabled: z.ZodBoolean;
|
|
19236
|
-
reason: z.ZodString;
|
|
19237
|
-
}, "strip", z.ZodTypeAny, {
|
|
19238
|
-
reason: string;
|
|
19239
|
-
enabled: boolean;
|
|
19240
|
-
}, {
|
|
19241
|
-
reason: string;
|
|
19242
|
-
enabled: boolean;
|
|
19243
|
-
}>;
|
|
19244
|
-
voice: z.ZodObject<{
|
|
19245
|
-
enabled: z.ZodBoolean;
|
|
19246
|
-
reason: z.ZodString;
|
|
19247
|
-
}, "strip", z.ZodTypeAny, {
|
|
19248
|
-
reason: string;
|
|
19249
|
-
enabled: boolean;
|
|
19250
|
-
}, {
|
|
19251
|
-
reason: string;
|
|
19252
|
-
enabled: boolean;
|
|
19253
|
-
}>;
|
|
19254
|
-
}, "strip", z.ZodTypeAny, {
|
|
19255
|
-
dictation: {
|
|
19256
|
-
reason: string;
|
|
19257
|
-
enabled: boolean;
|
|
19258
|
-
};
|
|
19259
|
-
voice: {
|
|
19260
|
-
reason: string;
|
|
19261
|
-
enabled: boolean;
|
|
19262
|
-
};
|
|
19263
|
-
}, {
|
|
19264
|
-
dictation: {
|
|
19265
|
-
reason: string;
|
|
19266
|
-
enabled: boolean;
|
|
19267
|
-
};
|
|
19268
|
-
voice: {
|
|
19269
|
-
reason: string;
|
|
19270
|
-
enabled: boolean;
|
|
19271
|
-
};
|
|
19272
|
-
}>>;
|
|
19273
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
19274
|
-
}, "strip", z.ZodTypeAny, {
|
|
19275
|
-
type: "welcome";
|
|
19276
|
-
serverId: string;
|
|
19277
|
-
hostname: string | null;
|
|
19278
|
-
version: string | null;
|
|
19279
|
-
resumed: boolean;
|
|
19280
|
-
capabilities?: z.objectOutputType<{
|
|
19281
|
-
voice: z.ZodOptional<z.ZodObject<{
|
|
19282
|
-
dictation: z.ZodObject<{
|
|
19283
|
-
enabled: z.ZodBoolean;
|
|
19284
|
-
reason: z.ZodString;
|
|
19285
|
-
}, "strip", z.ZodTypeAny, {
|
|
19286
|
-
reason: string;
|
|
19287
|
-
enabled: boolean;
|
|
19288
|
-
}, {
|
|
19289
|
-
reason: string;
|
|
19290
|
-
enabled: boolean;
|
|
19291
|
-
}>;
|
|
19292
|
-
voice: z.ZodObject<{
|
|
19293
|
-
enabled: z.ZodBoolean;
|
|
19294
|
-
reason: z.ZodString;
|
|
19295
|
-
}, "strip", z.ZodTypeAny, {
|
|
19296
|
-
reason: string;
|
|
19297
|
-
enabled: boolean;
|
|
19298
|
-
}, {
|
|
19299
|
-
reason: string;
|
|
19300
|
-
enabled: boolean;
|
|
19301
|
-
}>;
|
|
19302
|
-
}, "strip", z.ZodTypeAny, {
|
|
19303
|
-
dictation: {
|
|
19304
|
-
reason: string;
|
|
19305
|
-
enabled: boolean;
|
|
19306
|
-
};
|
|
19307
|
-
voice: {
|
|
19308
|
-
reason: string;
|
|
19309
|
-
enabled: boolean;
|
|
19310
|
-
};
|
|
19311
|
-
}, {
|
|
19312
|
-
dictation: {
|
|
19313
|
-
reason: string;
|
|
19314
|
-
enabled: boolean;
|
|
19315
|
-
};
|
|
19316
|
-
voice: {
|
|
19317
|
-
reason: string;
|
|
19318
|
-
enabled: boolean;
|
|
19319
|
-
};
|
|
19320
|
-
}>>;
|
|
19321
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
19322
|
-
}, {
|
|
19323
|
-
type: "welcome";
|
|
19324
|
-
serverId: string;
|
|
19325
|
-
hostname: string | null;
|
|
19326
|
-
version: string | null;
|
|
19327
|
-
resumed: boolean;
|
|
19328
|
-
capabilities?: z.objectInputType<{
|
|
19329
|
-
voice: z.ZodOptional<z.ZodObject<{
|
|
19330
|
-
dictation: z.ZodObject<{
|
|
19331
|
-
enabled: z.ZodBoolean;
|
|
19332
|
-
reason: z.ZodString;
|
|
19333
|
-
}, "strip", z.ZodTypeAny, {
|
|
19334
|
-
reason: string;
|
|
19335
|
-
enabled: boolean;
|
|
19336
|
-
}, {
|
|
19337
|
-
reason: string;
|
|
19338
|
-
enabled: boolean;
|
|
19339
|
-
}>;
|
|
19340
|
-
voice: z.ZodObject<{
|
|
19341
|
-
enabled: z.ZodBoolean;
|
|
19342
|
-
reason: z.ZodString;
|
|
19343
|
-
}, "strip", z.ZodTypeAny, {
|
|
19344
|
-
reason: string;
|
|
19345
|
-
enabled: boolean;
|
|
19346
|
-
}, {
|
|
19347
|
-
reason: string;
|
|
19348
|
-
enabled: boolean;
|
|
19349
|
-
}>;
|
|
19350
|
-
}, "strip", z.ZodTypeAny, {
|
|
19351
|
-
dictation: {
|
|
19352
|
-
reason: string;
|
|
19353
|
-
enabled: boolean;
|
|
19354
|
-
};
|
|
19355
|
-
voice: {
|
|
19356
|
-
reason: string;
|
|
19357
|
-
enabled: boolean;
|
|
19358
|
-
};
|
|
19359
|
-
}, {
|
|
19360
|
-
dictation: {
|
|
19361
|
-
reason: string;
|
|
19362
|
-
enabled: boolean;
|
|
19363
|
-
};
|
|
19364
|
-
voice: {
|
|
19365
|
-
reason: string;
|
|
19366
|
-
enabled: boolean;
|
|
19367
|
-
};
|
|
19368
|
-
}>>;
|
|
19369
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
19370
|
-
}>;
|
|
19371
19144
|
export declare const WSRecordingStateMessageSchema: z.ZodObject<{
|
|
19372
19145
|
type: z.ZodLiteral<"recording_state">;
|
|
19373
19146
|
isRecording: z.ZodBoolean;
|
|
@@ -33511,232 +33284,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
33511
33284
|
type: "pong";
|
|
33512
33285
|
}, {
|
|
33513
33286
|
type: "pong";
|
|
33514
|
-
}>, z.ZodObject<{
|
|
33515
|
-
type: z.ZodLiteral<"welcome">;
|
|
33516
|
-
serverId: z.ZodString;
|
|
33517
|
-
hostname: z.ZodNullable<z.ZodString>;
|
|
33518
|
-
version: z.ZodNullable<z.ZodString>;
|
|
33519
|
-
resumed: z.ZodBoolean;
|
|
33520
|
-
capabilities: z.ZodOptional<z.ZodObject<{
|
|
33521
|
-
voice: z.ZodOptional<z.ZodObject<{
|
|
33522
|
-
dictation: z.ZodObject<{
|
|
33523
|
-
enabled: z.ZodBoolean;
|
|
33524
|
-
reason: z.ZodString;
|
|
33525
|
-
}, "strip", z.ZodTypeAny, {
|
|
33526
|
-
reason: string;
|
|
33527
|
-
enabled: boolean;
|
|
33528
|
-
}, {
|
|
33529
|
-
reason: string;
|
|
33530
|
-
enabled: boolean;
|
|
33531
|
-
}>;
|
|
33532
|
-
voice: z.ZodObject<{
|
|
33533
|
-
enabled: z.ZodBoolean;
|
|
33534
|
-
reason: z.ZodString;
|
|
33535
|
-
}, "strip", z.ZodTypeAny, {
|
|
33536
|
-
reason: string;
|
|
33537
|
-
enabled: boolean;
|
|
33538
|
-
}, {
|
|
33539
|
-
reason: string;
|
|
33540
|
-
enabled: boolean;
|
|
33541
|
-
}>;
|
|
33542
|
-
}, "strip", z.ZodTypeAny, {
|
|
33543
|
-
dictation: {
|
|
33544
|
-
reason: string;
|
|
33545
|
-
enabled: boolean;
|
|
33546
|
-
};
|
|
33547
|
-
voice: {
|
|
33548
|
-
reason: string;
|
|
33549
|
-
enabled: boolean;
|
|
33550
|
-
};
|
|
33551
|
-
}, {
|
|
33552
|
-
dictation: {
|
|
33553
|
-
reason: string;
|
|
33554
|
-
enabled: boolean;
|
|
33555
|
-
};
|
|
33556
|
-
voice: {
|
|
33557
|
-
reason: string;
|
|
33558
|
-
enabled: boolean;
|
|
33559
|
-
};
|
|
33560
|
-
}>>;
|
|
33561
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
33562
|
-
voice: z.ZodOptional<z.ZodObject<{
|
|
33563
|
-
dictation: z.ZodObject<{
|
|
33564
|
-
enabled: z.ZodBoolean;
|
|
33565
|
-
reason: z.ZodString;
|
|
33566
|
-
}, "strip", z.ZodTypeAny, {
|
|
33567
|
-
reason: string;
|
|
33568
|
-
enabled: boolean;
|
|
33569
|
-
}, {
|
|
33570
|
-
reason: string;
|
|
33571
|
-
enabled: boolean;
|
|
33572
|
-
}>;
|
|
33573
|
-
voice: z.ZodObject<{
|
|
33574
|
-
enabled: z.ZodBoolean;
|
|
33575
|
-
reason: z.ZodString;
|
|
33576
|
-
}, "strip", z.ZodTypeAny, {
|
|
33577
|
-
reason: string;
|
|
33578
|
-
enabled: boolean;
|
|
33579
|
-
}, {
|
|
33580
|
-
reason: string;
|
|
33581
|
-
enabled: boolean;
|
|
33582
|
-
}>;
|
|
33583
|
-
}, "strip", z.ZodTypeAny, {
|
|
33584
|
-
dictation: {
|
|
33585
|
-
reason: string;
|
|
33586
|
-
enabled: boolean;
|
|
33587
|
-
};
|
|
33588
|
-
voice: {
|
|
33589
|
-
reason: string;
|
|
33590
|
-
enabled: boolean;
|
|
33591
|
-
};
|
|
33592
|
-
}, {
|
|
33593
|
-
dictation: {
|
|
33594
|
-
reason: string;
|
|
33595
|
-
enabled: boolean;
|
|
33596
|
-
};
|
|
33597
|
-
voice: {
|
|
33598
|
-
reason: string;
|
|
33599
|
-
enabled: boolean;
|
|
33600
|
-
};
|
|
33601
|
-
}>>;
|
|
33602
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
33603
|
-
voice: z.ZodOptional<z.ZodObject<{
|
|
33604
|
-
dictation: z.ZodObject<{
|
|
33605
|
-
enabled: z.ZodBoolean;
|
|
33606
|
-
reason: z.ZodString;
|
|
33607
|
-
}, "strip", z.ZodTypeAny, {
|
|
33608
|
-
reason: string;
|
|
33609
|
-
enabled: boolean;
|
|
33610
|
-
}, {
|
|
33611
|
-
reason: string;
|
|
33612
|
-
enabled: boolean;
|
|
33613
|
-
}>;
|
|
33614
|
-
voice: z.ZodObject<{
|
|
33615
|
-
enabled: z.ZodBoolean;
|
|
33616
|
-
reason: z.ZodString;
|
|
33617
|
-
}, "strip", z.ZodTypeAny, {
|
|
33618
|
-
reason: string;
|
|
33619
|
-
enabled: boolean;
|
|
33620
|
-
}, {
|
|
33621
|
-
reason: string;
|
|
33622
|
-
enabled: boolean;
|
|
33623
|
-
}>;
|
|
33624
|
-
}, "strip", z.ZodTypeAny, {
|
|
33625
|
-
dictation: {
|
|
33626
|
-
reason: string;
|
|
33627
|
-
enabled: boolean;
|
|
33628
|
-
};
|
|
33629
|
-
voice: {
|
|
33630
|
-
reason: string;
|
|
33631
|
-
enabled: boolean;
|
|
33632
|
-
};
|
|
33633
|
-
}, {
|
|
33634
|
-
dictation: {
|
|
33635
|
-
reason: string;
|
|
33636
|
-
enabled: boolean;
|
|
33637
|
-
};
|
|
33638
|
-
voice: {
|
|
33639
|
-
reason: string;
|
|
33640
|
-
enabled: boolean;
|
|
33641
|
-
};
|
|
33642
|
-
}>>;
|
|
33643
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
33644
|
-
}, "strip", z.ZodTypeAny, {
|
|
33645
|
-
type: "welcome";
|
|
33646
|
-
serverId: string;
|
|
33647
|
-
hostname: string | null;
|
|
33648
|
-
version: string | null;
|
|
33649
|
-
resumed: boolean;
|
|
33650
|
-
capabilities?: z.objectOutputType<{
|
|
33651
|
-
voice: z.ZodOptional<z.ZodObject<{
|
|
33652
|
-
dictation: z.ZodObject<{
|
|
33653
|
-
enabled: z.ZodBoolean;
|
|
33654
|
-
reason: z.ZodString;
|
|
33655
|
-
}, "strip", z.ZodTypeAny, {
|
|
33656
|
-
reason: string;
|
|
33657
|
-
enabled: boolean;
|
|
33658
|
-
}, {
|
|
33659
|
-
reason: string;
|
|
33660
|
-
enabled: boolean;
|
|
33661
|
-
}>;
|
|
33662
|
-
voice: z.ZodObject<{
|
|
33663
|
-
enabled: z.ZodBoolean;
|
|
33664
|
-
reason: z.ZodString;
|
|
33665
|
-
}, "strip", z.ZodTypeAny, {
|
|
33666
|
-
reason: string;
|
|
33667
|
-
enabled: boolean;
|
|
33668
|
-
}, {
|
|
33669
|
-
reason: string;
|
|
33670
|
-
enabled: boolean;
|
|
33671
|
-
}>;
|
|
33672
|
-
}, "strip", z.ZodTypeAny, {
|
|
33673
|
-
dictation: {
|
|
33674
|
-
reason: string;
|
|
33675
|
-
enabled: boolean;
|
|
33676
|
-
};
|
|
33677
|
-
voice: {
|
|
33678
|
-
reason: string;
|
|
33679
|
-
enabled: boolean;
|
|
33680
|
-
};
|
|
33681
|
-
}, {
|
|
33682
|
-
dictation: {
|
|
33683
|
-
reason: string;
|
|
33684
|
-
enabled: boolean;
|
|
33685
|
-
};
|
|
33686
|
-
voice: {
|
|
33687
|
-
reason: string;
|
|
33688
|
-
enabled: boolean;
|
|
33689
|
-
};
|
|
33690
|
-
}>>;
|
|
33691
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
33692
|
-
}, {
|
|
33693
|
-
type: "welcome";
|
|
33694
|
-
serverId: string;
|
|
33695
|
-
hostname: string | null;
|
|
33696
|
-
version: string | null;
|
|
33697
|
-
resumed: boolean;
|
|
33698
|
-
capabilities?: z.objectInputType<{
|
|
33699
|
-
voice: z.ZodOptional<z.ZodObject<{
|
|
33700
|
-
dictation: z.ZodObject<{
|
|
33701
|
-
enabled: z.ZodBoolean;
|
|
33702
|
-
reason: z.ZodString;
|
|
33703
|
-
}, "strip", z.ZodTypeAny, {
|
|
33704
|
-
reason: string;
|
|
33705
|
-
enabled: boolean;
|
|
33706
|
-
}, {
|
|
33707
|
-
reason: string;
|
|
33708
|
-
enabled: boolean;
|
|
33709
|
-
}>;
|
|
33710
|
-
voice: z.ZodObject<{
|
|
33711
|
-
enabled: z.ZodBoolean;
|
|
33712
|
-
reason: z.ZodString;
|
|
33713
|
-
}, "strip", z.ZodTypeAny, {
|
|
33714
|
-
reason: string;
|
|
33715
|
-
enabled: boolean;
|
|
33716
|
-
}, {
|
|
33717
|
-
reason: string;
|
|
33718
|
-
enabled: boolean;
|
|
33719
|
-
}>;
|
|
33720
|
-
}, "strip", z.ZodTypeAny, {
|
|
33721
|
-
dictation: {
|
|
33722
|
-
reason: string;
|
|
33723
|
-
enabled: boolean;
|
|
33724
|
-
};
|
|
33725
|
-
voice: {
|
|
33726
|
-
reason: string;
|
|
33727
|
-
enabled: boolean;
|
|
33728
|
-
};
|
|
33729
|
-
}, {
|
|
33730
|
-
dictation: {
|
|
33731
|
-
reason: string;
|
|
33732
|
-
enabled: boolean;
|
|
33733
|
-
};
|
|
33734
|
-
voice: {
|
|
33735
|
-
reason: string;
|
|
33736
|
-
enabled: boolean;
|
|
33737
|
-
};
|
|
33738
|
-
}>>;
|
|
33739
|
-
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
33740
33287
|
}>, z.ZodObject<{
|
|
33741
33288
|
type: z.ZodLiteral<"session">;
|
|
33742
33289
|
message: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -42809,7 +42356,6 @@ export declare const WSOutboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
|
42809
42356
|
export type WSInboundMessage = z.infer<typeof WSInboundMessageSchema>;
|
|
42810
42357
|
export type WSOutboundMessage = z.infer<typeof WSOutboundMessageSchema>;
|
|
42811
42358
|
export type WSHelloMessage = z.infer<typeof WSHelloMessageSchema>;
|
|
42812
|
-
export type WSWelcomeMessage = z.infer<typeof WSWelcomeMessageSchema>;
|
|
42813
42359
|
/**
|
|
42814
42360
|
* Extract session message from WebSocket message
|
|
42815
42361
|
* Returns null if message should be handled at WS level only
|