@@ -102,6 +102,7 @@ function createTestMcpLoopbackServerConfig(port: number) {
102102 "x-openclaw-current-channel-id" : "${OPENCLAW_MCP_CURRENT_CHANNEL_ID}" ,
103103 "x-openclaw-current-thread-ts" : "${OPENCLAW_MCP_CURRENT_THREAD_TS}" ,
104104 "x-openclaw-current-message-id" : "${OPENCLAW_MCP_CURRENT_MESSAGE_ID}" ,
105+ "x-openclaw-current-inbound-audio" : "${OPENCLAW_MCP_CURRENT_INBOUND_AUDIO}" ,
105106 "x-openclaw-inbound-event-kind" : "${OPENCLAW_MCP_INBOUND_EVENT_KIND}" ,
106107 "x-openclaw-source-reply-delivery-mode" : "${OPENCLAW_MCP_SOURCE_REPLY_DELIVERY_MODE}" ,
107108 } ,
@@ -1222,6 +1223,7 @@ describe("shouldSkipLocalCliCredentialEpoch", () => {
12221223 currentChannelId : undefined ,
12231224 currentThreadTs : undefined ,
12241225 currentMessageId : undefined ,
1226+ currentInboundAudio : undefined ,
12251227 accountId : undefined ,
12261228 inboundEventKind : undefined ,
12271229 sourceReplyDeliveryMode : undefined ,
@@ -1367,6 +1369,7 @@ describe("shouldSkipLocalCliCredentialEpoch", () => {
13671369 currentChannelId : "telegram:-100123:topic:42" ,
13681370 currentThreadTs : "42" ,
13691371 currentMessageId : "reply-message-1" ,
1372+ currentInboundAudio : true ,
13701373 sourceReplyDeliveryMode : "message_tool_only" ,
13711374 } ) ;
13721375
@@ -1375,6 +1378,7 @@ describe("shouldSkipLocalCliCredentialEpoch", () => {
13751378 OPENCLAW_MCP_CURRENT_CHANNEL_ID : "telegram:-100123:topic:42" ,
13761379 OPENCLAW_MCP_CURRENT_THREAD_TS : "42" ,
13771380 OPENCLAW_MCP_CURRENT_MESSAGE_ID : "reply-message-1" ,
1381+ OPENCLAW_MCP_CURRENT_INBOUND_AUDIO : "true" ,
13781382 OPENCLAW_MCP_INBOUND_EVENT_KIND : "room_event" ,
13791383 OPENCLAW_MCP_SOURCE_REPLY_DELIVERY_MODE : "message_tool_only" ,
13801384 } ) ;
0 commit comments