AppConstants
Category: Core
Source: app_constants.dart
Application-wide configuration constants.
Status: part of the proposed core data model — see docs/plans/2026-04-29-harness-layers.md. Originally lived in config/constants.dart; relocated so strategies can depend on these values without crossing the harness boundary.
Classes
AppConstants
Application-wide configuration constants.
Centralizes magic values for timeouts, limits, and defaults to improve maintainability and enable easy tuning of behavior.
Properties
| Property | Type | Description |
|---|---|---|
version | const String | Package version — sourced from pubspec.yaml via tool/gen_version.dart. Do not edit by hand; bump pubspec.yaml and run just gen (or just release <version>). |
maxConversationBlocks | const int | |
ctrlCDoubleTapWindow | const Duration | |
bashTimeoutSeconds | const int | |
grepTimeoutSeconds | const int | |
shellCompletionTimeoutMs | const int | |
defaultOllamaBaseUrl | const String | |
defaultTitleModel | const String | |
maxVisibleDropdownItems | const int | |
atFileHintCacheTtlSeconds | const int | |
atFileHintMaxTreeEntries | const int | |
atFileHintMaxTreeDepth | const int | |
maxSubagentDepth | const int | |
bashMaxLinesDefault | const int | |
globMaxEntries | const int | |
maxFileExpansionBytes | const int | |
debugLogBodySizeLimit | const int | |
inputAreaDivisor | const int | |
maxInputVisibleLines | const int | |
webFetchTimeoutSeconds | const int | |
webFetchMaxBytes | const int | |
webFetchDefaultMaxTokens | const int | |
webSearchTimeoutSeconds | const int | |
webSearchDefaultMaxResults | const int | |
pdfMaxBytes | const int | |
pdfTimeoutSeconds | const int | |
browserNavigationTimeoutSeconds | const int | |
browserActionTimeoutSeconds | const int | |
browserDockerPort | const int | |
browserDockerImage | const String |