Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(voice): add configurable local voice transcription #14882

ClosedUtkarshUsername(GitHub profile, opens in a new tab)wants to merge 244 commits intomain fromrefs/pull/14882/headopened View on GitHub

Showing 161 changed files with 25 additions and 3 deletions (loading 156).

x
0 of 161 viewed, 161 left
16 additions and 3 deletionsapps/desktop/src/ipc/methods/preview.tsModified
View file
@@ -1,6 +1,8 @@
import {
DesktopPreviewAnnotationSendEnabledInputSchema,
DesktopPreviewAnnotationThemeInputSchema,
+ DesktopPreviewAnnotationVoiceInputSchema,
+ DesktopPreviewAnnotationVoiceStateSchema,
DesktopPreviewArtifactInputSchema,
DesktopPreviewConfigInputSchema,
DesktopPreviewNavigateInputSchema,
@@ -353,11 +355,11 @@
​
const pickElement = DesktopIpc.makeIpcMethod({
channel: IpcChannels.PREVIEW_PICK_ELEMENT_CHANNEL,
- payload: DesktopPreviewTabInputSchema,
+ payload: DesktopPreviewAnnotationVoiceInputSchema,
result: Schema.NullOr(PreviewAnnotationSubmissionResultSchema),
- handler: Effect.fn("desktop.ipc.preview.pickElement")(function* ({ tabId }) {
+ handler: Effect.fn("desktop.ipc.preview.pickElement")(function* ({ tabId, voice }) {
const manager = yield* PreviewManager.PreviewManager;
- return yield* manager.pickElement(tabId);
+ return yield* manager.pickElement(tabId, voice);
}),
});
​
@@ -416,8 +418,19 @@
}),
});
​
+const updateAnnotationVoice = DesktopIpc.makeIpcMethod({