feat(agent): refactor message context into unified shumai_message (#365)

* feat(agent): refactor message context into unified shumai_message

* fix(agent): persist custom_message entry type in DatabaseSessionStorage and handle message mapping defensively

* fix(agent): pass clean prompt to harness and replace optimistic messages on shumai_message stream

* fix(agent): align asset context DTO contract, sync comment attachments, and fix session stats
This commit is contained in:
Yiling-J
2026-08-30 15:25:13 +08:00
committed by GitHub
parent b2ec012e10
commit 86032539ed
27 changed files with 1437 additions and 594 deletions
@@ -0,0 +1 @@
export { escapeXmlAttr, serializeContextToXml } from '@shumai/dtos'