Skip to main content

Module completion

Module completion 

Source
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 /tools when the TUI is running in offline mode (no runtime to query). Mirrors the set backend::build_default_tools registers.
glob_workspace_files
Enumerate workspace files matching query (case-insensitive prefix / substring match). Returns relative paths, newest-first within each depth tier, capped at MAX_ATFILE_SUGGESTIONS.
search_history
Fuzzy-search history for query (case-insensitive substring match).