v1.4.0
2. Smart Token Optimization (TOON)
For large projects, sending all code to an LLM is expensive and inefficient. TOON (Token Oriented Object Notation) extracts only the semantic "skeleton" of your code (classes, signatures, docstrings), ignoring implementations.
deepbase . --toon
# or
deepbase . -tResult: LLMs understand your architecture using minimal tokens.
3. Hybrid Mode (Focus)
This is the power user feature. You can provide the TOON skeleton for the entire project (background context) while focusing on specific files (full content).
Focus via CLI:
Use -f or --focus with glob patterns (e.g., *auth*, src/utils/*).
deepbase . --toon --focus "server/controllers/*" --focus "client/src/login.js"Focus via File:
Instead of typing patterns every time, create a text file (e.g., context_task.txt) with the list of files/folders you are working on.
content of context_task.txt:
server/routes/auth.js
server/models/User.js
client/src/components/LoginForm.jsx
Run deepbase loading the file:
deepbase . --toon --focus-file context_task.txt