ui/widgets/status_notice library
Classes
- MemoryFileInfo
- Information about a memory file (NEOMAGE.md etc.).
- SlowOperation
- A recorded slow operation.
- SlowOperationsPanel
- Widget that renders a slow operations debug panel.
- SlowOperationTimer
- A disposable timer for measuring slow operations. Use with try/finally to ensure proper cleanup.
- SlowOperationTracker
- Global slow operation tracker.
- StatusDiagnostic
- A diagnostic message in the status display.
- StatusNoticeContext
- Context for evaluating status notices.
- StatusNoticeController
- Controller for status notices and slow operation monitoring.
- StatusNoticeDefinition
- A definition of a status notice.
- StatusNoticeView
- Widget that renders active status notices.
- StatusProperty
- A single property in the status display.
Enums
- StatusNoticeType
- Type of status notice.
Constants
- agentDescriptionsThreshold → const int
- Threshold for total agent description tokens.
- defaultSlowOperationThresholdMs → const int
- Threshold in milliseconds for logging slow operations. Operations taking longer than this are logged for debugging.
- maxMemoryCharacterCount → const int
- Maximum character count before a memory file is considered large.
Properties
- apiKeyConflictNotice → StatusNoticeDefinition
-
Auth conflict: API key overriding config key.
final
- bothAuthMethodsNotice → StatusNoticeDefinition
-
Both auth methods set at once.
final
- largeAgentDescriptionsNotice → StatusNoticeDefinition
-
Large cumulative agent descriptions.
final
- largeMemoryFilesNotice → StatusNoticeDefinition
-
Large memory files notice.
final
-
statusNoticeDefinitions
→ List<
StatusNoticeDefinition> -
All notice definitions.
final
- subscriberExternalTokenNotice → StatusNoticeDefinition
-
Auth conflict: subscriber using external token.
final
Functions
-
buildAccountProperties(
{String? subscription, String? tokenSource, String? apiKeySource, String? organization, String? email, bool isDemoMode = false}) → List< StatusProperty> - Build account properties for the status display.
-
buildApiProviderProperties(
{required String apiProvider, String? baseUrl, String? region, String? gcpProject, bool skipAuth = false}) → List< StatusProperty> - Build API provider properties.
-
buildMcpProperties(
{int connected = 0, int pending = 0, int needsAuth = 0, int failed = 0}) → List< StatusProperty> - Build MCP server properties (summary).
-
buildMemoryDiagnostics(
List< MemoryFileInfo> files) → List<StatusDiagnostic> - Build memory diagnostics.
-
buildModelProperties(
{required String modelDisplay, String? defaultModelDescription}) → List< StatusProperty> - Build model properties.
-
buildSandboxProperties(
{required bool isEnabled}) → List< StatusProperty> - Build sandbox properties.
-
buildSettingSourcesProperties(
List< String> sourceNames) → List<StatusProperty> - Build setting sources properties.
-
buildSlowDescription(
String template, List args) → String - Build a human-readable description from tagged arguments.
-
callerFrame(
StackTrace? stack) → String - Extract the first useful stack frame outside the slow operations module.
-
getActiveNotices(
StatusNoticeContext context) → List< StatusNoticeDefinition> - Get currently active notices for a given context.
-
getLargeMemoryFiles(
List< MemoryFileInfo> files) → List<MemoryFileInfo> - Get memory files that exceed the size threshold.