Skip to main content

EdgeUI API reference

EdgeUI contains generic SwiftUI building blocks for Edge-based apps. The views are infrastructure components, not a product UI mandate.

Developer Preview boundary

Use these views as references or small reusable components. Product layout, copy, navigation, and business workflows remain app-owned decisions.

Agent workbench components

TypeDescription
EdgeActivityStatusDisplay model for an active agent operation.
EdgeActivityMotionMotion profile for activity chrome.
EdgeActivityStatusViewSwiftUI status row for active inference or tool work.
EdgeActivityPulseViewCompact pulse indicator.
EdgeActivityMetaLabelSmall metadata label.
EdgeActivityShimmerOptional activity shimmer modifier.
EdgeAgentTranscriptRowGeneric transcript row with app-provided actions, trace content, and body content.
EdgeAgentWorkbenchGeneric workbench composition surface.

Classification UI

TypeDescription
ClassificationListView(namespace:)Generic EdgeData classification inbox grouped by status.
ClassificationCorrectionSheet(fact:onComplete:)Metadata-driven correction sheet for an EdgeData Fact.

These components render from EdgeData schema metadata. They must not contain app-specific categories, fields, prompts, or business rules.

Diagnostics UI

TypeDescription
EdgeDiagnostics.sharedObservable diagnostics toggle state.
setDetailedMetricsEnabled(_:)Sets whether detailed metrics are visible.
toggleDetailedMetrics()Toggles detailed metrics and returns the new value.
EdgeDiagnosticTapModifierHidden tap gesture for developer diagnostics.

Safety boundaries

  • Keep product-specific copy and information architecture in the app.
  • Do not use EdgeUI to encode DogFood behavior, domain defaults, or app-specific data schemas.
  • Use these views as preview references until your app has validated accessibility, localization, and device layout.