MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / search

Method search

src/command_system/input_processing.py:832–835  ·  view source on GitHub ↗

Search history for entries starting with prefix.

(self, prefix: str)

Source from the content-addressed store, hash-verified

830 return self._entries[self._cursor]
831
832 def search(self, prefix: str) -> list[str]:
833 """Search history for entries starting with prefix."""
834 prefix_lower = prefix.lower()
835 return [e for e in reversed(self._entries) if e.lower().startswith(prefix_lower)]
836
837 def clear(self) -> None:
838 """Clear all history."""

Callers 15

test_searchMethod · 0.95
classifyFunction · 0.80
is_glob_patternFunction · 0.80
normalize_public_versionFunction · 0.80
get_session_diffFunction · 0.80
get_diff_against_branchFunction · 0.80
_default_max_tokensFunction · 0.80
_grep_fallback_pythonFunction · 0.80
_bash_callFunction · 0.80
is_command_read_onlyFunction · 0.80

Calls

no outgoing calls