Skip to content

Commit ee9edee

Browse files
committed
test(voice): preserve custom shortcuts and provide MCP session service
1 parent 19978df commit ee9edee

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎apps/server/src/keybindings.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,10 @@ it.layer(NodeServices.layer)("keybindings", (it) => {
280280
);
281281

282282
for (const defaultRule of Keybindings.DEFAULT_KEYBINDINGS) {
283+
if (defaultRule.command === "threadPanel.toggle") continue;
283284
assert.isTrue(byCommand.has(defaultRule.command), `expected ${defaultRule.command}`);
284285
}
286+
assert.isFalse(byCommand.has("threadPanel.toggle"));
285287
assert.isTrue(byCommand.has("script.run-tests.run"));
286288

287289
const configState = yield* keybindings.loadConfigState;

‎apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2255,7 +2255,7 @@ describe("CodexAdapterV2 post-settle continuation", () => {
22552255
assert.equal(request?.delivery, "message_text");
22562256
assert.equal(request?.detail, "run the tests");
22572257
assert.equal(request?.providerThreadId, harness.providerThread.id);
2258-
}).pipe(Effect.provide(Layer.merge(IdAllocator.layer, NodeServices.layer))),
2258+
}).pipe(Effect.provide(Layer.mergeAll(IdAllocator.layer, McpProviderSessions.layer, NodeServices.layer))),
22592259
),
22602260
);
22612261

0 commit comments

Comments
 (0)