Skip to content

feat(permissions): wire actor permission requests and warn on missing handler#1552

Merged
NathanFlurry merged 1 commit into
mainfrom
wire-actor-permissions
Jun 27, 2026
Merged

feat(permissions): wire actor permission requests and warn on missing handler#1552
NathanFlurry merged 1 commit into
mainfrom
wire-actor-permissions

Conversation

@NathanFlurry

Copy link
Copy Markdown
Member
  • Wire the agent tool-permission flow through the RivetKit actor plugin: broadcast permissionRequest events per session and add a respondPermission action, so the client-side approval flow has a real backend.
  • Emit a host-visible, once-per-session warning when a tool-permission request arrives with no onPermissionRequest handler registered, instead of a silent deny.
  • Update the Approvals and crash-course docs and examples to the client-side permissionRequest/respondPermission API and drop the non-functional server-hook auto-approve pattern.

… handler

- Broadcast `permissionRequest` events per session and add a `respondPermission`
  action in the actor plugin so the RivetKit client-side approval flow works.
- Warn once per session (host-visible, via onAgentStderr) when a tool-permission
  request arrives with no onPermissionRequest handler registered, instead of a
  silent deny.
- Update the Approvals and crash-course docs and examples to the client-side
  permissionRequest/respondPermission API; drop the non-functional server-hook
  auto-approve pattern.
@railway-app railway-app Bot temporarily deployed to agentos / agentos-pr-1552 June 27, 2026 22:44 Destroyed
@railway-app railway-app Bot temporarily deployed to rivet-frontend / agentos-pr-1552 June 27, 2026 22:44 Destroyed
@NathanFlurry NathanFlurry merged commit e3689fe into main Jun 27, 2026
3 of 4 checks passed
@NathanFlurry NathanFlurry deleted the wire-actor-permissions branch June 27, 2026 22:51
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