Skip to content

fix: add typed mention context refs to chat#4806

Merged
ComputelessComputer merged 7 commits intomainfrom
fix/chat-context-foundation
Mar 28, 2026
Merged

fix: add typed mention context refs to chat#4806
ComputelessComputer merged 7 commits intomainfrom
fix/chat-context-foundation

Conversation

@ComputelessComputer
Copy link
Copy Markdown
Collaborator

@ComputelessComputer ComputelessComputer commented Mar 28, 2026

  • expand chat context refs and message metadata from session-only refs to session, human, and organization refs
  • teach the context registry and pipeline to display mentioned humans and organizations in the context bar
  • resolve human and organization refs into prompt context in the chat transport

- Return early from the context bar when there are no context chips
- Keep the add button available only once context is already present
- Hide the context bar entirely when there are no context chips
- Render the composer with full rounded corners when it is no longer attached to a context bar
- send the global shortcut to the persistent chat new-session action when the composer has focus
- centralize persistent chat session resets in shared chat state so the shortcut and header button stay in sync
- add chat state coverage for starting and selecting chat sessions
- Extract mention nodes from the chat draft into typed context refs
- Show mentioned sessions, people, and organizations in the context bar while typing
- Persist mention refs on sent messages and render contact/org context into the chat prompt
@ComputelessComputer ComputelessComputer changed the title fix: add typed chat context refs for mentions fix: add typed mention context refs to chat Mar 28, 2026
Base automatically changed from fix/chat-session-hotkeys to main March 28, 2026 19:47
@ComputelessComputer ComputelessComputer merged commit 7a4680d into main Mar 28, 2026
6 checks passed
@ComputelessComputer ComputelessComputer deleted the fix/chat-context-foundation branch March 28, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant