@dawn-ai/permissions
v0.8.26
Published
Permission matching, approval gates, and access-control stores for Dawn agents.
Maintainers
Readme
@dawn-ai/permissions
Permission matching and approval-store contracts for Dawn agents.
Use this when: You are building permission matching or approval-store integrations for a Dawn agent.
Install
pnpm add @dawn-ai/permissionsExample
import { matchPermission } from "@dawn-ai/permissions"
const decision = matchPermission(
"bash",
"pnpm test",
{ bash: ["pnpm"] },
{ bash: ["pnpm publish"] },
)Runtime and stability
@dawn-ai/permissionsis an edge-safe, supported integration surface.@dawn-ai/permissions/nodeis a node-only, supported integration surface.
The root entry owns matching and portable contracts. Use the Node entry only for filesystem-backed approval-store integration.
Related
- Permissions API reference — exact matching and store contracts.
- Permissions guide — application policy and approval workflows.
@dawn-ai/postgres-storage— shared Postgres-backed permission decisions.
Maturity and support
Dawn is pre-1.0, and its public surface can change. All publishable Dawn packages release together as a fixed group; review the @dawn-ai/permissions changelog and upgrading guide before upgrading. For support, use GitHub Discussions; report defects in GitHub Issues.
License
MIT. See the repository license.
