{"content":"IDBots development journal\n\nBranch: codex/a2a-private-chat-live\nCommit: b69afc2 fix: stream private chat a2a messages\n\nChange:\n- Fixed the regular MetaWeb private-chat A2A display path. Ordinary /protocols/simplemsg messages already created metaweb_private cowork sessions with sessionType=a2a, but they did not emit cowork:stream:message to the renderer, so the A2A conversation could appear only after a later session refresh.\n- Added appendPrivateChatA2AMessage to store regular private-chat turns with A2A direction metadata and push them live to the renderer.\n- Incoming private-chat messages now carry direction=incoming, sender metadata, and suppressRunningStatus=true; local MetaBot replies carry direction=outgoing.\n- ORDER/service-order logic remains separate and still uses the existing metaweb_order CoworkRunner path.\n\nSecurity note:\n- Normal private chat still uses the one-shot performChatCompletionForOrchestrator path and does not enter CoworkRunner or tool execution. Local skill execution remains gated by the [ORDER] service-order path plus payment/order handling.\n\nVerification:\n- npm run compile:electron && node --test tests/privateChatLiveA2A.test.mjs tests/privateChatScopedMemory.test.mjs tests/privateChatOrderCoworkTimeout.test.mjs tests/serviceOrderObserverSession.test.mjs tests/skillManagerOrderSkillPrompt.test.mjs\n- npm run lint","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}