Skip to content
Source
Sign inSign up
pingdotgg/t3code

[WIP] feat(voice): add configurable local voice transcription #8928

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

Showing 132 changed files with 25 additions and 3 deletions (loading 127).

x
0 of 132 viewed, 132 left
16 additions and 3 deletionsapps/desktop/src/ipc/methods/preview.tsModified
View file
@@ -1,5 +1,7 @@
import {
DesktopPreviewAnnotationThemeInputSchema,
+ DesktopPreviewAnnotationVoiceInputSchema,
+ DesktopPreviewAnnotationVoiceStateSchema,
DesktopPreviewArtifactInputSchema,
DesktopPreviewAutomationClickInputSchema,
DesktopPreviewAutomationEvaluateInputSchema,
@@ -354,11 +356,11 @@
​
export 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);
}),
});
​
@@ -482,7 +484,18 @@
}),
});
​
+export const updateAnnotationVoice = DesktopIpc.makeIpcMethod({
+ channel: IpcChannels.PREVIEW_ANNOTATION_VOICE_STATE_CHANNEL,