GO-7368 Add ephemeral pubsub and API v2 chat status - #3298
Merged
Merged
Conversation
…l pub/sub Expose the any-sync space-scoped pub/sub engine to app clients: - PubsubPublish/PubsubSubscribe/PubsubUnsubscribe RPCs with wildcard topic patterns and subId-keyed subscriptions - Event.Pubsub.Message broadcast with verified sender identity - payloads encrypted with the space's current ACL read key (same key as object changes), decrypted+verified before events are emitted - LAN peers served via the shared DRPC server; publishes go to the responsible node plus LAN peers - docs/pubsub: design doc and client developer guide (topics, cadence, closing messages)
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds encrypted, ephemeral pubsub to Heart so clients and agents can send live activity updates without storing chat messages. The integration uses any-sync v0.13.5 and the merged publishclient compatibility fix.
PubsubPublish,PubsubSubscribe,PubsubUnsubscribe, andEvent.Pubsub.Message, with verified sender identity and Space ACL encryption.POST /v2/spaces/{space_id}/chats/{chat_id}/status, publishing{"text":"Searching documentation","data":{"tool_call":"web_search"}}tostatus/<chat_id>. Empty text is omitted so clients can display localized typing;dataaccepts any JSON value. The endpoint enforces Space/write grants and supports dry runs and idempotency.Validation: race suites passed across
core/api/...,core/pubsub,core/publish,space/spacecore,core/anytype,core, andclientlibrary/service; protobuf packages compile. API documentation, route authorization, schema, and response-contract checks pass. Regression tests cover all six pubsub review findings, arbitrary JSON preservation, localized defaults, dry runs, permission failures, and payload boundaries.