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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
// This is the main library file for `st`.
// TODO: Clean up unused code in next refactor
// Increased for deeply nested JSON schemas in MCP tools
// It's like the table of contents for our awesome codebase,
// declaring the modules that make up the `st` library and
// re-exporting key items for convenient use.
// Think of it as the friendly librarian pointing you to the right sections!
// Declare the public modules that form the `st` library.
// Transparent activity logging in JSONL format
// AI Guardian - Protects AI from prompt injection attacks
// Command-line argument definitions (extracted from main.rs)
// Unified configuration: API keys, models, daemon settings
// Smart global compression for all outputs
// Content type detection - "Understanding what's in your directories" - Omni
// Decoders to convert quantum format to other representations
// Enterprise-friendly feature control and compliance
// Home to all the different ways we can display the tree (Classic, JSON, AI, etc.).
// 🌊 Universal input adapters - QCP, SSE, OpenAPI, MEM8, and more!
// Backwards reading - C64 tape style!
// Context-aware progressive loading
// Mega session persistence in ~/.mem8/
// Real memory management for consciousness!
// The native quantum format tree walker - no intermediate representation!
// Code relationship analyzer - "Semantic X-ray vision for codebases" - Omni
// The heart of directory traversal and file metadata collection. // For intelligently detecting project context (e.g., Rust, Node.js).
// Interest scoring - surfacing what matters
// Safety mechanisms to prevent crashes on large directories
// Change detection between scans
// The scoring engine that determines what's interesting
// Wave-powered real-time directory intelligence (MEM8)
// Semantic analysis inspired by Omni's wave-based wisdom!
// 🧠 Smart Tools - Context-aware AI collaboration features with 70-90% token reduction!
// 🚀 Smart Tree Terminal Interface - Your coding companion that anticipates your needs!
// Smart tokenization for semantic pattern recognition
// Finds conversations everywhere!
// Detects format by structure! // Semantic-aware quantum compression - "AST meets compression!" - Omni // Dynamic pattern learning - "Every project has its own language!" - Omni
// The `mcp` module for Model Context Protocol integration.
// MCP stands for Model Context Protocol, enabling AI assistant integration.
// In-memory logger for API access
// Feedback API client for sending feedback to f.8b.is
// Claude integration initializer - auto-configures optimal .claude directory
// AI integration installer - unified setup for all AI platforms
// Integration helpers for easier usage in other applications
// Project renaming - elegant identity transition
// Smart Tips System - helpful hints without the hassle!
// LLM Proxy - Unified AI interface
// Code Review - AI-powered code review with Grok, OpenRouter, and more
// Daemon and client for always-on AI context service
// HTTP CLI endpoints for thin-client architecture
// Binary protocol client for std daemon (Unix socket)
// Service manager for systemd integration
// Self-update mechanism - check and install updates from GitHub releases
// Project tags management - tag and categorize projects
// Spicy TUI - cyberpunk-style terminal interface!
// Collaboration Station - Multi-AI real-time collaboration! 🛁
// "Oh Tai, let's invite Omni to the hot tub!" - Hue
// Authentication - GitHub OAuth for i1.is and collaboration
// Emoji mapping - bringing life to file types!
// pub mod emotional_depth; // 🎭 Smart Tree has feelings about directories! TODO: Fix implementation
// Re-export key items from the `scanner` module for easier access.
// This means users of the `st` library can use `st::Scanner`
// instead of `st::scanner::Scanner`, for example. It's all about convenience!
pub use ;
// Re-export interest scoring types for intelligent scanning
pub use ;
// Re-export state management types for change detection
pub use ;
// Re-export interest calculator
pub use ;
// Re-export context detection for easy access
pub use detect_project_context;
// Re-export integration helpers for convenient usage
pub use ;
// File history tracking - The ultimate context-driven system!
// MEM8 - Wave-based cognitive architecture for consciousness simulation
// MEM8 Lite - Minimal wave types for hot directory tracking (self-contained)
// n8x (Nexus Agent) - Living forest orchestrator for AI-human development
// Binary: `n8x` (formerly `tree`, renamed to avoid shadowing Unix tree)
// Context Gatherer - Searches AI tool directories for project context
// AI Output Discipline - Omni's efficiency manifesto implementation
// ST Unified System - One tool to rule them all!
// Smart Edit Diff Storage
// Rust Shell - Ultimate collaborative interface with casting support
// Q8-Caster Bridge - Integration with quantum casting system
// VAD with Marine Algorithm - Voice Activity Detection from MEM8
// Web Dashboard - Browser-based terminal + file browser (always included)
// MEM8 Binary Format - The REAL wave-based .m8 format
// M8 Format Converter - Convert between .m8, .m8j, .m8z, and .mq formats
// Quantum Wave Signatures - Full 32-bit consciousness patterns (not horse apples!)
// Claude Hook Handler - Comprehensive context provider for conversations
// Marqant - Quantum-compressed markdown format (external crate from ./marqant submodule)
// Now accessed via: use marqant::Marqant;
// ST Tokenizer - Advanced semantic pattern recognition with frequency tracking
// SmartPastCode Registry Integration - Auto-indexing for universal code discovery
// Security Scanner - Detect supply chain attack patterns
// Collaboration - Humans + AIs working together