Skip to content

Commit 998303b

Browse files
committed
fix binary tests
1 parent 67cbfb1 commit 998303b

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

binary/src/IpcMessenger.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class IPCMessengerBase<
3838
}
3939
this.send(msg.messageType, { done: true }, msg.messageId);
4040
} else {
41-
this.send(msg.messageType, response || {}, msg.messageId);
41+
this.send(msg.messageType, response, msg.messageId);
4242
}
4343
} catch (e: any) {
4444
console.warn(`Error running handler for "${msg.messageType}": `, e);

core/config/promptFile.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import * as YAML from "yaml";
44
import type { IDE, SlashCommand } from "..";
55
import { walkDir } from "../indexing/walkDir";
66
import { stripImages } from "../llm/images";
7-
import { getBasename } from "../util/index";
87
import { renderTemplatedString } from "../promptFiles/renderTemplatedString";
8+
import { getBasename } from "../util/index";
99

1010
export const DEFAULT_PROMPTS_FOLDER = ".prompts";
1111

core/util/reverseMessageIde.ts

+5
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ export class ReverseMessageIde {
124124
return this.ide.listFolders();
125125
});
126126

127+
this.on("getControlPlaneSessionInfo", async (msg) => {
128+
// Not supported in testing
129+
return undefined;
130+
});
131+
127132
this.on("getContinueDir", () => {
128133
return this.ide.getContinueDir();
129134
});

0 commit comments

Comments
 (0)