agent property

TrustProfile agent
final

The default for agent-written UI: the core's node types (every type Catalog.core declares: layout, text, inputs, lists, charts; no feature library's, whatever catalog the session has), agentActions, no scripts, no links, navigation only to the document's own canvases, and size limits.

Implementation

static final TrustProfile agent = TrustProfile(
  widgets: {for (final w in Catalog.core.widgets) w.type},
  actions: agentActions,
  scripts: false,
  linkHosts: {},
  navigation: NavigationLimit.withinDocument,
  maxNodes: 1500,
  maxDepth: 40,
  maxTextLength: 4000,
  maxOpsPerCall: 2000,
);