MutkaMutka

ModulePermission

Reference — ModulePermission in the Mutka module API.

Type Alias: ModulePermission

type ModulePermission = 
  | "fs:read"
  | "fs:write"
  | "fs:temp"
  | "clipboard:read"
  | "clipboard:write"
  | "navigation"
  | "view"
  | "dialog"
  | "network:public"
  | "network:local"
  | "storage"
  | "secrets"
  | "ui"
  | "discovery"
  | "launch"
  | "shell";

Defined in: module-registry/public-types.ts:24

Permissions a module may request. A module must declare every capability it uses; the gateway (core/sandbox/gateway/gateway.ts) denies any capability whose permission is absent from the module's manifest.

On this page