1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/// ANSI escape sequence parsing constants
/// Application metadata constants shared across crates
/// Bash tool security validation constants
/// Chunking constants for large file handling
/// Command execution defaults shared across the agent runtime
/// Context window management defaults
/// Default configuration values
/// Diff preview controls for file operations
/// Environment variable names shared across the application.
/// Environment variable names for overriding provider base URLs
/// Execution boundary constants (inspired by OpenAI Codex agent loop patterns)
/// HTTP header constants for provider integrations
/// LLM generation parameters
/// MCP constants
/// Memory monitoring thresholds and constants
/// Message role constants to avoid hardcoding strings
/// Model validation and helper functions
/// Model ID constants to sync with docs/models.json
/// Optimization defaults
/// Output limits to prevent unbounded memory growth.
/// Prompt budget defaults shared across instruction and project-doc loading.
/// Prompt caching defaults shared across features and providers
/// Prompt path constants to avoid hardcoding throughout the codebase
/// Reasoning effort configuration constants
/// Tool name constants to avoid hardcoding strings throughout the codebase
/// UI constants
/// URL constants for API endpoints