Skip to content

feat: add content block presentation metadata - #320

Merged
asherdale merged 4 commits into
mainfrom
context-blocks
Aug 8, 2026
Merged

asherdale merged 4 commits into
mainfrom
context-blocks

Conversation

@asherdale

@asherdale asherdale commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor
  • add opaque metadata to persisted content blocks and expose it through agent event APIs without changing the model-visible content
  • support reserved omnara_hidden and omnara_display_text presentation hints in the web transcript
  • omnara_hidden is used to hide Slack routing context, while omnara_display_text is used for preserving canonical mentions and channel references for the model without displaying slack's internal IDs in our web UI
  • show message actors in agent conversations and distinguish Slack actors from Omnara users

example:
image

Comment thread internal/integration/slack/events.go
Comment thread internal/httpapi/integration_event_routes.go Outdated
Comment thread internal/httpapi/integration_event_routes.go Outdated
@asherdale
asherdale marked this pull request as ready for review August 7, 2026 20:13
@asherdale
asherdale requested a review from cmsparks August 7, 2026 20:13

@cmsparks cmsparks left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Comment thread api/openapi/openapi.yaml
Comment thread internal/httpapi/public_content_blocks.go

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit ca36016. Configure here.

Comment thread internal/storage/executionstore/content_blocks_store.go
@asherdale
asherdale merged commit 95db71d into main Aug 8, 2026
20 checks passed
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.

2 participants