From d2108ce16b9c2e7af31dcd4b2b68b0d453ccebf4 Mon Sep 17 00:00:00 2001 From: rever-tecnologia Date: Tue, 9 Dec 2025 13:29:27 -0300 Subject: [PATCH] fix(desktop): corrigir formato do path das funcoes Convex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Usar formato "module.js:function" exigido pelo Convex self-hosted - checkMachineUpdates, listMachineMessages, postMachineMessage, etc. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- apps/desktop/src/chat/convexMachineClient.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/apps/desktop/src/chat/convexMachineClient.ts b/apps/desktop/src/chat/convexMachineClient.ts index 2ea3510..b4e0c34 100644 --- a/apps/desktop/src/chat/convexMachineClient.ts +++ b/apps/desktop/src/chat/convexMachineClient.ts @@ -39,11 +39,12 @@ type MessagesPayload = { hasSession: boolean } -const FN_CHECK_UPDATES = "liveChat.checkMachineUpdates" as const -const FN_LIST_MESSAGES = "liveChat.listMachineMessages" as const -const FN_POST_MESSAGE = "liveChat.postMachineMessage" as const -const FN_MARK_READ = "liveChat.markMachineMessagesRead" as const -const FN_UPLOAD_URL = "liveChat.generateMachineUploadUrl" as const +// Convex self-hosted exige o formato "module.js:function" +const FN_CHECK_UPDATES = "liveChat.js:checkMachineUpdates" as const +const FN_LIST_MESSAGES = "liveChat.js:listMachineMessages" as const +const FN_POST_MESSAGE = "liveChat.js:postMachineMessage" as const +const FN_MARK_READ = "liveChat.js:markMachineMessagesRead" as const +const FN_UPLOAD_URL = "liveChat.js:generateMachineUploadUrl" as const async function loadStore(): Promise { const appData = await appLocalDataDir()