Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
Merge B (cbcb6da4) into C1: keep both actor and onBehalfOf in the dispatch-context key list
garrytan1de3bd1da305
diff --cc test/serve-http-mcp-dispatch-context.serial.test.tsindex 04e2baee3a,eef38a12fa..9ec86b9967--- a/test/serve-http-mcp-dispatch-context.serial.test.ts+++ b/test/serve-http-mcp-dispatch-context.serial.test.ts@@@ -89,7 -89,7 +89,7 @@@ async function rpc(base: string, tokenreturn JSON.parse(dataLine ? dataLine.slice('data:'.length) : text).result;}- const FULL_SURFACE_KEYS = ['actor', 'admissionOrigin', 'auth', 'config', 'inboundFrameBytes', 'isListed', 'logger', 'metaHook', 'noticeLedger', 'remote', 'resultRows', 'sourceId', 'surface', 'surfaceCeiling', 'takesHoldersAllowList', 'transport'];-const FULL_SURFACE_KEYS = ['admissionOrigin', 'auth', 'config', 'inboundFrameBytes', 'isListed', 'logger', 'metaHook', 'noticeLedger', 'onBehalfOf', 'remote', 'resultRows', 'sourceId', 'surface', 'surfaceCeiling', 'takesHoldersAllowList', 'transport'];++const FULL_SURFACE_KEYS = ['actor', 'admissionOrigin', 'auth', 'config', 'inboundFrameBytes', 'isListed', 'logger', 'metaHook', 'noticeLedger', 'onBehalfOf', 'remote', 'resultRows', 'sourceId', 'surface', 'surfaceCeiling', 'takesHoldersAllowList', 'transport'];describe('POST /mcp dispatch context', () => {test('full surface: remote http dispatch with the verified auth and token source scope', async () => {