Expand description
Tab-completion and history-search helpers for the Recursive TUI.
Provides glob_workspace_files for @-file completion, search_history
for Ctrl+R fuzzy history search, and default_offline_tool_catalog for the
static tool list shown when the runtime is unavailable.
Constants§
- MAX_
ATFILE_ SUGGESTIONS - Maximum candidates shown in the @file popup.
- MAX_
HSEARCH_ RESULTS - Maximum results shown in the Ctrl+R history-search popup.
Functions§
- collect_
files - default_
offline_ tool_ catalog - Static fallback list of tools shown by
/toolswhen the TUI is running in offline mode (no runtime to query). Mirrors the setbackend::build_default_toolsregisters. - glob_
workspace_ files - Enumerate workspace files matching
query(case-insensitive prefix / substring match). Returns relative paths, newest-first within each depth tier, capped atMAX_ATFILE_SUGGESTIONS. - search_
history - Fuzzy-search
historyforquery(case-insensitive substring match).