Skip to main content

Module permission

Module permission 

Source
Expand description

Permission types for opencode_rs.

Matches TypeScript PermissionNext schema from permission/next.ts.

Structs§

PermissionReplyRequest
Request body for replying to a permission.
PermissionRequest
A permission request from the server.
PermissionRule
A permission rule in a ruleset.
PermissionToolRef
Reference to a tool invocation for permission context.

Enums§

PermissionAction
Permission action (allow, deny, ask).
PermissionReply
Reply to a permission request.

Type Aliases§

Ruleset
A ruleset is a list of permission rules.