Skip to content

Commit 77304d5

Browse files
committed
fix: narrow routing peer in inbound test and refresh docs map
1 parent 84c26f8 commit 77304d5

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎docs/docs_map.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ Do not edit it by hand; run `pnpm docs:map:gen`.
319319
- H3: JSON5 reference
320320
- H3: Account config keys
321321
- H2: Multiple bots
322+
- H2: Session discussions
322323
- H2: Reply modes
323324
- H2: Command menu
324325
- H2: Durable media delivery

‎extensions/clickclack/src/inbound.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,7 @@ describe("handleClickClackInbound", () => {
622622
const discussionCallIndex = buildSessionKeyMock.mock.calls.findIndex(
623623
([call]) =>
624624
call.agentId === "research" &&
625+
call.peer != null &&
625626
call.peer.kind === "channel" &&
626627
call.peer.id.startsWith("disc-"),
627628
);

0 commit comments

Comments
 (0)