kernl API
    Preparing search index...

    Function capabilitiesInForce

    • The kehto capabilities an applet's grants come to, after the seal.

      Parameters

      • granted: readonly string[]

        The domains the person allowed.

      • kept: readonly string[] = []

        Domains the person chose to keep beside messages.

      • baseline: readonly string[] = BASELINE_DOMAINS

        Domains every applet holds; BASELINE_DOMAINS by default.

      Returns readonly (
          | "relay:read"
          | "relay:write"
          | "cache:read"
          | "cache:write"
          | "hotkey:forward"
          | "state:read"
          | "state:write"
          | "identity:read"
          | "keys:bind"
          | "keys:forward"
          | "media:control"
          | "notify:send"
          | "notify:channel"
          | "theme:read"
          | "config:read"
          | "resource:fetch"
          | "cvm:call"
          | "outbox:read"
          | "outbox:write"
          | "upload:write"
          | "intent:read"
          | "intent:write"
          | "dm:read"
          | "dm:write"
          | "fs:read"
          | "fs:write"
          | "llm:generate"
      )[]

      The capabilities to write into the runtime ACL.

      capabilitiesInForce(['dm', 'intent', 'relay']); // dm, baseline and 'intent:read'; no relay, no 'intent:write'