Everything an agent can reach, and whether it can change it. List refusals as well as grants.
The mode is spelled out - "Can read", "Can read and write" - because read and write are a developer's words for somebody else's files. A person granting access should not have to translate.
Every scope is listed, including the ones that are read-only or refused. A list that showed only the powerful grants would make the total reach impossible to judge.
import { AccessList } from '@redrob-labs/ui';
| Prop | Type | Notes |
|---|---|---|
scopes |
Array<{ /** The five things a person actually pictures. */ kind?: 'files' | 'apps' | 'web' | 'computer' | 'memory'; /** Name the thing, not the path: 'Your Contracts folder'. */ label: string; /** Rendered as 'Can read', 'Can read and write', 'No access'. */ mode?: 'read' | 'write' | 'none'; }> |
|
label |
string |
|
className |
string |