Skip to main content

Module services

Module services 

Source
Expand description

Core services layer.

Services handle cross-cutting concerns like history compaction, token estimation, MCP server management, and memory persistence.

Modulesยง

background
Background task execution.
bridge
IDE bridge protocol.
budget
Cost and token budget enforcement.
cache_tracking
Prompt cache tracking and break detection.
compact
History compaction.
context_collapse
Context collapse (snip compaction).
coordinator
Multi-agent coordinator.
diagnostics
Environment diagnostics.
file_cache
File state cache.
git
Git integration utilities.
git_ops
Git operation detection from command output.
history
Conversation history utilities.
lsp
Language Server Protocol integration.
mcp
Model Context Protocol (MCP) client.
output_store
Output persistence for large tool results.
plugins
Plugin system.
pricing
Per-model pricing for cost estimation.
secret_masker
Secret masking for persistence boundaries.
session
Session persistence.
session_env
Session environment setup.
shell_passthrough
Shell passthrough: capture subprocess output and build context messages.
telemetry
Telemetry and observability attributes.
tokens
Token estimation.