gitdataai/libs
ZhenYi 26682973e7 feat(room): redesign mention system with AST-based format
Backend:
- Add MENTION_TAG_RE matching new `<mention type="..." id="...">label</mention>` format
- Extend extract_mentions() and resolve_mentions() to parse new format (legacy backward-compatible)

Frontend:
- New src/lib/mention-ast.ts: AST types (TextNode, MentionNode, AiActionNode),
  parse() and serialize() functions for AST↔HTML conversion
- MentionPopover: load @repository: from project repos, @ai: from room_ai configs
  (not room members); output new HTML format with ID instead of label
- MessageMentions: use AST parse() for rendering (falls back to legacy parser)
- ChatInputArea: insertMention now produces `<mention type="user" id="...">label</mention>`
- RoomParticipantsPanel: onMention passes member UUID to insertMention
- RoomContext: add projectRepos and roomAiConfigs for mention data sources
2026-04-17 23:43:26 +08:00
..
agent feat(service): improve model sync and harden git HTTP/SSH stability 2026-04-17 00:13:40 +08:00
agent-tool-derive init 2026-04-15 09:08:09 +08:00
api fix(room): add missing stream column to room_ai table 2026-04-17 23:09:55 +08:00
avatar init 2026-04-15 09:08:09 +08:00
config fix(git/hook): address review findings — fs blocking, redis timeout, backoff, slog 2026-04-17 13:20:31 +08:00
db init 2026-04-15 09:08:09 +08:00
email init 2026-04-15 09:08:09 +08:00
frontend feat(frontend): embed SPA assets into app binary at compile time 2026-04-17 12:04:34 +08:00
git fix(git): multiple branch and upstream query bugs 2026-04-17 16:30:58 +08:00
migrate fix(room): add missing stream column to room_ai table 2026-04-17 23:09:55 +08:00
models refactor(room): remove NATS, use Redis pub/sub for message queue 2026-04-16 17:24:04 +08:00
queue fix(room): align ReactionGroup types with frontend and guard reaction update handler 2026-04-17 23:00:52 +08:00
room feat(room): redesign mention system with AST-based format 2026-04-17 23:43:26 +08:00
rpc init 2026-04-15 09:08:09 +08:00
service fix(service): use default_branch for graph and reflog endpoints 2026-04-17 16:36:44 +08:00
session init 2026-04-15 09:08:09 +08:00
transport init 2026-04-15 09:08:09 +08:00
webhook init 2026-04-15 09:08:09 +08:00