feat(bb-realtime): add Realtime.grantPublish() for external publishers - #367
Draft
pjkroker wants to merge 1 commit into
Draft
feat(bb-realtime): add Realtime.grantPublish() for external publishers#367pjkroker wants to merge 1 commit into
pjkroker wants to merge 1 commit into
Conversation
🦋 Changeset detectedLatest commit: c50e51f The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
pjkroker
force-pushed
the
agentcore-rt/2-realtime-grant
branch
from
August 14, 2026 12:23
e27e08d to
15a63c0
Compare
pjkroker
force-pushed
the
agentcore-rt/2-realtime-grant
branch
from
August 14, 2026 13:20
63f1fb3 to
4c92e19
Compare
pjkroker
force-pushed
the
agentcore-rt/2-realtime-grant
branch
from
August 14, 2026 13:32
4c92e19 to
c50e51f
Compare
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Stacked PR 2 of 3 — base:
agentcore-rt/1-core(#366). Layer above: the bb-agent migration.What
Adds
Realtime.grantPublish(grantee)(CDK) so an IAM principal other than the shared Blocks handler can publish to Realtime channels.publish()needsexecute-api:ManageConnections(postToConnection) anddynamodb:Queryon the connections table — permissions that were previously only ever granted to the shared handler.grantPublishgrants both to any principal and returns{ callbackUrl, connectionsTableName }— the runtime config that principal must inject into its env to publish (not discoverable outside the handler). CDK-synth only; the runtime/mock build throws.Additive, no consumer in this PR.
Validation
build + bb-realtime tests (72, incl. a new
grantPublishsynth test) + conditional-export parity pass.API.mdregenerated. Changeset (minor).Draft for review. Depends on #366.