Cotal TypeScript packages
    Preparing search index...

    Function agentGrants

    • An agent credential's grants, read back from the rows the agent profile mints: the chat.*.*.<channel> subscribe rows are its read ACL, its own chat.<owner>.<actor>.<channel> publish rows its post ACL, and the svc_<role> TASK bind row its role.

      Parameters

      • nats: { pub?: { allow?: string[] }; sub?: { allow?: string[] } }
      • space: string

      Returns AgentGrants