Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GeniePod/genie-claw
/ functions
Functions
3,215 in github.com/GeniePod/genie-claw
⨍
Functions
3,215
◇
Types & classes
370
↓ 516 callers
Method
store
Store a new memory.
crates/genie-core/src/memory/mod.rs:757
↓ 426 callers
Method
get
Return (creating if absent) the per-chat mutex, updating last-access time. Sweeps expired entries before inserting to keep the map bounded.
crates/genie-core/src/telegram.rs:104
↓ 297 callers
Function
route
(text: &str)
crates/genie-core/src/tools/quick.rs:9
↓ 290 callers
Method
is_empty
(&self)
crates/genie-core/src/channel/mod.rs:227
↓ 272 callers
Method
len
(&self)
crates/genie-core/src/channel/mod.rs:223
↓ 128 callers
Method
as_str
(self)
crates/genie-core/src/channel/mod.rs:32
↓ 126 callers
Method
is_empty
(&self)
crates/genie-core/src/session.rs:45
↓ 119 callers
Method
len
(&self)
crates/genie-core/src/session.rs:41
↓ 113 callers
Method
execute
Execute a tool call from the LLM.
crates/genie-core/src/tools/dispatch/mod.rs:507
↓ 102 callers
Function
temp_memory
()
crates/genie-core/src/memory/mod.rs:9372
↓ 99 callers
Method
lock
(executed: Arc<Mutex<Vec<HomeActionKind>>>)
crates/genie-core/tests/tool_gate_integration_test.rs:102
↓ 97 callers
Method
next
(&mut self)
crates/genie-core/tests/language_detect_test.rs:195
↓ 77 callers
Function
contains_ascii_ci
ASCII case-insensitive substring check for pre-lowercase trigger gates.
crates/genie-core/src/memory/policy.rs:779
↓ 62 callers
Method
execute_with_context
( &self, call: &ToolCall, exec_ctx: ToolExecutionContext, )
crates/genie-core/src/tools/dispatch/mod.rs:512
↓ 57 callers
Method
structured_household_answer
(&self, query: &str)
crates/genie-core/src/memory/mod.rs:2092
↓ 55 callers
Method
count
(&self)
crates/genie-core/src/memory/mod.rs:2557
↓ 49 callers
Function
words
Convenience constructors keep the table readable.
crates/genie-core/src/security/injection.rs:179
↓ 49 callers
Function
words
(text: &'static str, category: &'static str)
crates/genie-core/tests/injection_test.rs:46
↓ 46 callers
Method
prepare
Build a `Send` invocation handle for this skill. Synchronous and cheap: callers can hold the skill-loader lock across this, then drop it before `await
crates/genie-core/src/skills/loader.rs:349
↓ 44 callers
Function
test_config
()
crates/genie-common/src/config.rs:1958
↓ 43 callers
Function
now_ms
()
crates/genie-core/src/memory/mod.rs:2823
↓ 40 callers
Method
append
Append a message to a conversation.
crates/genie-core/src/conversation.rs:133
↓ 36 callers
Function
clean_person_name
(value: &str)
crates/genie-core/src/memory/mod.rs:7781
↓ 36 callers
Function
spawn
Spawn `tegrastats` as a child process, parse each line, and broadcast the latest snapshot via a watch channel. Returns a receiver that always holds t
crates/genie-governor/src/tegra_reader.rs:13
↓ 36 callers
Function
time_after_marker
(content: &str, lower: &str, marker: &str)
crates/genie-core/src/memory/mod.rs:8031
↓ 36 callers
Method
with_memory
Set the memory store for memory tools (recall, forget, store).
crates/genie-core/src/tools/dispatch/mod.rs:451
↓ 34 callers
Function
calendar_day_from_text
(lower: &str)
crates/genie-core/src/memory/mod.rs:7810
↓ 33 callers
Method
append_or_log
Append a message, logging SQLite/IO failures instead of silently dropping them.
crates/genie-core/src/conversation.rs:190
↓ 32 callers
Method
get
Get the raw JSON value for an argument.
crates/genie-skill-sdk/src/args.rs:38
↓ 30 callers
Function
extract_facts
Extract facts from a user utterance using pattern matching (Tier 1). Returns zero or more facts with categories: - `identity`: name, age, occupation,
crates/genie-core/src/memory/extract.rs:24
↓ 30 callers
Method
search
Search memories with temporal decay applied. Returns results ranked by: BM25 relevance * temporal_decay_multiplier. Evergreen memories are exempt fro
crates/genie-core/src/memory/mod.rs:832
↓ 30 callers
Function
with_shared_memory
Run a closure against the shared memory store on the blocking thread pool. genie-core's HTTP server and Telegram adapter share one OS thread (`tokio:
crates/genie-core/src/memory/mod.rs:65
↓ 29 callers
Function
escapeHtml
(value)
crates/dashboard/dashboard.js:253
↓ 29 callers
Function
read_jsonl
(path: &Path)
crates/genie-core/tests/tool_gate_integration_test.rs:59
↓ 28 callers
Method
as_str
(self)
crates/genie-core/src/tools/dispatch/mod.rs:75
↓ 27 callers
Function
setText
(id, val)
crates/dashboard/dashboard.js:75
↓ 25 callers
Function
assess_memory_read
Decide whether a memory is safe to use in the current response context.
crates/genie-core/src/memory/policy.rs:427
↓ 25 callers
Method
dispatcher
( &self, ha: Option<Arc<dyn HomeAutomationProvider>>, tool_policy: ToolPolicyConfig,
crates/genie-core/tests/tool_gate_integration_test.rs:39
↓ 24 callers
Function
contains_ascii_ci
ASCII case-insensitive substring check for pre-lowercase trigger gates.
crates/genie-core/src/memory/extract.rs:211
↓ 24 callers
Function
tool
(name: &str, arguments: serde_json::Value)
crates/genie-core/src/tools/quick.rs:211
↓ 23 callers
Method
create
Create a new conversation. Returns the conversation ID.
crates/genie-core/src/conversation.rs:104
↓ 22 callers
Method
as_str
Stable lowercase representation for logs/audit trails — independent of the derived `Debug` repr, which is free to change with variant names.
crates/genie-core/src/memory/policy.rs:42
↓ 21 callers
Function
for_voice
Voice output formatter. LLMs output markdown, bullet points, long paragraphs, and special characters that sound terrible when spoken by TTS. This mod
crates/genie-core/src/voice/format.rs:8
↓ 21 callers
Method
parse
(json: String)
crates/genie-core/src/skills/loader.rs:316
↓ 19 callers
Method
mark_promoted
Mark a memory as promoted (moved to permanent storage). Convenience wrapper around [`mark_promoted_many`](Self::mark_promoted_many) for the single-id
crates/genie-core/src/memory/mod.rs:1155
↓ 18 callers
Function
clean_sentence_value
(value: &str)
crates/genie-core/src/memory/mod.rs:7793
↓ 18 callers
Function
sanitize_output
Sanitize LLM output — remove any leaked secrets before showing to user. Scans for patterns that look like API keys, tokens, or credentials in the LLM
crates/genie-core/src/security/sandbox.rs:124
↓ 18 callers
Function
workspace_root
()
crates/genie-core/tests/tool_dispatch_test.rs:544
↓ 17 callers
Function
temp_memory_path
Return a freshly-created unique parent dir and a `memory.db` path inside it. `Memory::open` derives `canonical_dir = path.parent().join("memory")` and
crates/genie-core/src/memory/mod.rs:9355
↓ 17 callers
Method
tool_defs
All available tool definitions (for the LLM system prompt).
crates/genie-core/src/tools/dispatch/mod.rs:475
↓ 16 callers
Function
contains_any
(text: &str, needles: &[&str])
crates/genie-core/src/tools/quick.rs:3090
↓ 16 callers
Method
exec_memory_recall
( &self, args: &serde_json::Value, exec_ctx: ToolExecutionContext, )
crates/genie-core/src/tools/dispatch/memory.rs:225
↓ 16 callers
Method
is_empty
True if no trusted keys are loaded — every verification fails closed.
crates/genie-core/src/skills/signature.rs:89
↓ 16 callers
Method
port
(&self)
crates/genie-core/src/ha/client.rs:107
↓ 16 callers
Method
send
(&self, _frame: ConnectivityFrame)
crates/genie-core/src/connectivity/mod.rs:137
↓ 16 callers
Function
split_once_case_insensitive
( original: &'a str, lower: &str, marker: &str, )
crates/genie-core/src/memory/mod.rs:7754
↓ 15 callers
Method
build
Build the system prompt with tools and memory context.
crates/genie-core/src/prompt.rs:63
↓ 15 callers
Function
build_memory_context
Build the memory section to append to the system prompt for a given query. Strategy: 1. Always include identity memories 2. Search for query-relevant
crates/genie-core/src/memory/inject.rs:153
↓ 15 callers
Method
load_skill
Load a single skill from a `.so` file.
crates/genie-core/src/skills/loader.rs:623
↓ 15 callers
Method
path
(&self)
crates/genie-core/src/tools/actuation.rs:548
↓ 14 callers
Function
apply_reasoning_mode
( model_family: ModelFamily, messages: &[Message], user_text: &str, interaction: InteractionKi
crates/genie-core/src/reasoning.rs:26
↓ 14 callers
Method
get_recent
Get recent N messages (for context window).
crates/genie-core/src/conversation.rs:237
↓ 14 callers
Function
now_ms
()
crates/genie-core/src/tools/actuation.rs:610
↓ 14 callers
Function
read_request
Read and parse one HTTP request from `reader`, enforcing every bound in `limits`. The entire read runs under a single deadline, so a stalled peer cann
crates/genie-common/src/http.rs:175
↓ 14 callers
Function
run_open_migration
(conn: &Connection, sql: &str, step: &str, migration_degraded: &mut bool)
crates/genie-core/src/memory/mod.rs:9211
↓ 14 callers
Method
send_text
(&self, chat_id: i64, text: &str)
crates/genie-core/src/telegram.rs:835
↓ 14 callers
Function
temp_store
()
crates/genie-core/src/conversation.rs:475
↓ 13 callers
Function
decision_for_metadata
( metadata: MemoryPolicyMetadata, allowed: bool, disclosure: MemoryDisclosure, reason: &'stati
crates/genie-core/src/memory/policy.rs:265
↓ 13 callers
Function
extract_and_store
Extract facts and store them, with deduplication. Returns the number of new memories stored.
crates/genie-core/src/memory/extract.rs:154
↓ 13 callers
Function
infer_metadata
Infer V1 policy metadata from the memory kind and content. This is used both when new memories are stored and when older databases are backfilled int
crates/genie-core/src/memory/policy.rs:292
↓ 13 callers
Function
score_response
(case: &BfclCase, response: &str)
crates/genie-core/src/eval/bfcl.rs:190
↓ 12 callers
Function
case
(expected_tool_calls: Vec<ExpectedToolCall>)
crates/genie-core/src/eval/bfcl.rs:769
↓ 12 callers
Function
get_str
(value: &'a Value, key: &str)
crates/genie-core/src/tools/web_search.rs:630
↓ 12 callers
Method
json
Force JSON output (any valid JSON).
crates/genie-core/src/llm/openai_compat.rs:169
↓ 12 callers
Function
leading_person_name
(value: &str)
crates/genie-core/src/memory/mod.rs:7775
↓ 12 callers
Function
test_limits
()
crates/genie-common/src/http.rs:585
↓ 12 callers
Method
try_acquire
Acquire the chat turn lock, bounded by `busy_wait`. Returns `None` if a turn is already in flight and does not release within the budget; the caller
crates/genie-core/src/server.rs:509
↓ 12 callers
Function
write_stream_event
(writer: &mut OwnedWriteHalf, event: &serde_json::Value)
crates/genie-core/src/server.rs:1573
↓ 11 callers
Function
extract_json
Extract the first valid JSON object from LLM output. Handles: raw JSON, markdown fenced blocks, embedded in prose.
crates/genie-core/src/tools/parser.rs:277
↓ 11 callers
Function
feed_all
(streamer: &mut SentenceStreamer, chunks: &[&str])
crates/genie-core/src/voice/streaming.rs:416
↓ 11 callers
Method
len
Number of trusted keys loaded.
crates/genie-core/src/skills/signature.rs:84
↓ 11 callers
Method
list
List all conversations (most recent first).
crates/genie-core/src/conversation.rs:264
↓ 11 callers
Function
normalize_alias_key
(value: &str)
crates/genie-core/src/memory/parse_household.rs:111
↓ 11 callers
Function
shared_safe_memory_rows_with_kind
( conn: &Connection, )
crates/genie-core/src/memory/structured.rs:236
↓ 10 callers
Method
append
Append an audit event. Returns `Ok(())` for a disabled logger (no path) and surfaces the failing IO step otherwise, so a security-critical caller can
crates/genie-core/src/tools/actuation.rs:527
↓ 10 callers
Function
assess_memory_write
Decide whether a proposed memory may be written by voice/tool flow.
crates/genie-core/src/memory/policy.rs:379
↓ 10 callers
Function
contains_any
(haystack: &str, needles: &[&str])
crates/genie-core/src/memory/policy.rs:932
↓ 10 callers
Function
due_date_from_text
(content: &str, lower: &str)
crates/genie-core/src/memory/mod.rs:7433
↓ 10 callers
Function
frame_rms
Calculate RMS of a frame.
crates/genie-core/src/voice/noise.rs:247
↓ 10 callers
Method
has_similar
Check if a similar memory already exists (for deduplication). Uses SQL LIKE with key words from the content. More reliable than FTS5 for deduplicatio
crates/genie-core/src/memory/mod.rs:2429
↓ 10 callers
Method
loaded
Get all loaded skills (immutable).
crates/genie-core/src/skills/loader.rs:743
↓ 10 callers
Function
normalize
(input: &str)
crates/genie-core/src/ha/provider.rs:1138
↓ 10 callers
Method
prepare_body
( &self, messages: &[Message], max_tokens: Option<u32>, stream: bool,
crates/genie-core/src/llm/openai_compat.rs:223
↓ 10 callers
Function
prompt_test_memory
Unique temp dir per test — avoids readonly SQLite flakes from fixed paths (#487).
crates/genie-core/src/prompt.rs:330
↓ 10 callers
Function
proxy_core_json
( config: &Config, method: &str, path: &str, body: Option<&str>, )
crates/genie-api/src/routes.rs:858
↓ 10 callers
Function
reader_for
(bytes: &[u8])
crates/genie-common/src/http.rs:596
↓ 10 callers
Function
require_signature_policy
(keys_dir: &Path)
crates/genie-core/src/skills/loader.rs:1126
↓ 10 callers
Method
snapshot
(&self)
crates/genie-core/src/server.rs:540
↓ 10 callers
Method
store_evergreen
Store an evergreen memory (never decays).
crates/genie-core/src/memory/mod.rs:775
↓ 10 callers
Method
transcribe_file
Transcribe a WAV file (works in all modes).
crates/genie-core/src/voice/stt.rs:247
next →
1–100 of 3,215, ranked by callers