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
↓ 4 callers
Function
parse_http_url
(url: &str)
crates/genie-core/src/ha/client.rs:367
↓ 4 callers
Function
parse_positive_u32
(name: &str, value: &str)
crates/genie-ctl/src/main.rs:1442
↓ 4 callers
Function
parse_positive_usize
(name: &str, value: &str)
crates/genie-ctl/src/main.rs:1452
↓ 4 callers
Function
parse_tool_call
Parse a tool call from text, return (tool_name, arguments).
crates/genie-core/tests/tools_test.rs:247
↓ 4 callers
Function
parse_web_search_args
(args: &serde_json::Value)
crates/genie-core/src/tools/dispatch/web_search.rs:66
↓ 4 callers
Method
path
(&self)
crates/genie-core/src/voice/stt.rs:25
↓ 4 callers
Function
postJson
(url, payload)
crates/dashboard/dashboard.js:237
↓ 4 callers
Function
probe_http_get
Issue a minimal HTTP GET and require a 2xx/3xx status line.
crates/genie-common/src/probe.rs:66
↓ 4 callers
Function
profile_attr
(name: &str, attribute: &str, value: &str)
crates/genie-core/src/memory/mod.rs:7745
↓ 4 callers
Method
promoted_count
(&self)
crates/genie-core/src/memory/mod.rs:2564
↓ 4 callers
Function
read_c_str
Read a C string pointer from the vtable. Returns empty string if null.
crates/genie-core/src/skills/loader.rs:380
↓ 4 callers
Method
rebuild_root_memory_file
(&self)
crates/genie-core/src/memory/mod.rs:2666
↓ 4 callers
Method
required_services
Services that must be running in this mode.
crates/genie-common/src/mode.rs:36
↓ 4 callers
Function
rms_of
(samples: &[f32])
crates/genie-core/src/voice/dsp.rs:308
↓ 4 callers
Function
run
(label: &str, input: &str, iters: u32)
crates/genie-core/tests/injection_bench.rs:4
↓ 4 callers
Function
run_audit
Run all startup security checks. Returns findings.
crates/genie-core/src/security/audit.rs:37
↓ 4 callers
Function
secret_type_from_text
(lower: &str)
crates/genie-core/src/memory/mod.rs:7565
↓ 4 callers
Function
send_http_post
(url: &str, body: &str)
crates/genie-health/src/checker.rs:238
↓ 4 callers
Method
service_unit_for_alias
(&self, alias: &str)
crates/genie-governor/src/governor.rs:275
↓ 4 callers
Function
set_echo_reference
Store TTS output as echo reference for future AEC processing. Called by TTS speak() after Piper generates PCM, before sending to aplay. The PCM is st
crates/genie-core/src/voice/aec.rs:41
↓ 4 callers
Function
sign_file
Detached base64 Ed25519 signature over the current bytes of `so_path`.
crates/genie-core/src/skills/loader.rs:1104
↓ 4 callers
Function
spawn_test_listener
(handler: F)
crates/genie-core/src/llm/openai_compat.rs:1675
↓ 4 callers
Function
stream_and_speak_with_hints
Stream the LLM response with optional runtime cache/scheduling hints.
crates/genie-core/src/voice/streaming.rs:46
↓ 4 callers
Function
subject_before_marker
(content: &str, lower: &str, marker: &str)
crates/genie-core/src/memory/mod.rs:7472
↓ 4 callers
Function
summarize_state
(target_name: &str, domain: Option<&str>, entities: &[Entity])
crates/genie-core/src/ha/provider.rs:1174
↓ 4 callers
Function
system_prompt_prefix_cache
(messages: &[Message])
crates/genie-core/src/llm/openai_compat.rs:977
↓ 4 callers
Function
systemd_unit_file_path
(unit: &str)
crates/genie-ctl/src/main.rs:2543
↓ 4 callers
Function
temp_memory
()
crates/genie-core/src/profile/toml_profile.rs:150
↓ 4 callers
Function
temp_skills_dir
()
crates/genie-ctl/src/main.rs:2861
↓ 4 callers
Method
transition
(&mut self, ts_ms: u64, target: Mode)
crates/genie-governor/src/governor.rs:196
↓ 4 callers
Function
try_tool_call
Parse a tool call from LLM output and execute it. LLMs output tool calls in various formats. This parser handles: 1. Raw JSON: `{"tool": "get_time",
crates/genie-core/src/tools/parser.rs:12
↓ 4 callers
Function
unique_temp_dir
(name: &str)
crates/genie-ctl/src/bfcl_import.rs:1186
↓ 4 callers
Method
validate_llm_provider
Fail-loud validation for the configured LLM provider path (#568).
crates/genie-common/src/config.rs:1486
↓ 4 callers
Method
with_skill_loader
Set the dynamic skill loader for loadable skill modules.
crates/genie-core/src/tools/dispatch/mod.rs:457
↓ 4 callers
Function
write_response
( writer: &mut OwnedWriteHalf, response: &Response, reflect_origin: Option<&str>, )
crates/genie-api/src/http.rs:221
↓ 3 callers
Method
access_permission_for_query
(&self, query: &str)
crates/genie-core/src/memory/mod.rs:1826
↓ 3 callers
Method
active_llm_provider_kind
Resolve which LLM surface is active from existing config keys. `[optional_ai_provider].enabled = true` selects the gated API path; otherwise the loca
crates/genie-common/src/config.rs:1477
↓ 3 callers
Function
ambiguous_named_entity_candidates
Candidate display names when `query` ambiguously matches several distinct named entities at the top score, for surfacing a disambiguation prompt. (#51
crates/genie-core/src/ha/provider.rs:1075
↓ 3 callers
Method
api_http_addr
TCP `host:port` for `genie-api` to bind, derived from `[services.api].url`. Keeps the listen socket aligned with health probes and `genie-ctl` that a
crates/genie-common/src/config.rs:1565
↓ 3 callers
Function
api_probe_target
Parsed probe target for genie-api when callers need extra HTTPS-aware probes (support bundle `/api/security`, etc.).
crates/genie-ctl/src/main.rs:87
↓ 3 callers
Function
apply_noise_gate
Noise gate — silence audio segments where RMS is below threshold. Processes in 20ms frames. Returns true if any frame contains speech.
crates/genie-core/src/voice/noise.rs:131
↓ 3 callers
Method
as_policy_key
(self)
crates/genie-core/src/tools/actuation.rs:41
↓ 3 callers
Method
as_str
(&self)
crates/genie-core/src/security/credentials.rs:73
↓ 3 callers
Function
assess_transcript
(text: &str)
crates/genie-core/src/voice/intent.rs:13
↓ 3 callers
Method
backend_name
(&self)
crates/genie-core/src/llm/mod.rs:300
↓ 3 callers
Function
bfcl_reference_home
Reference home that mirrors the HA-Intents reference home used by the BFCL dataset. It is intentionally minimal and dataset-specific: it contains exac
crates/genie-core/src/eval/bfcl.rs:484
↓ 3 callers
Method
build_context
Build the message list for the LLM, managing context window. Returns: [system_prompt, (optional summary), recent_messages...]
crates/genie-core/src/context.rs:34
↓ 3 callers
Function
build_runtime_contract_snapshot
( tools: &ToolDispatcher, mem_count: usize, mem_promoted_count: usize, conv_count: usize,
crates/genie-core/src/server.rs:1943
↓ 3 callers
Function
canonicalize_household_action
Canonicalize a quick-router household action to a valid `home_control` verb, or `None` to abstain. Only unambiguous rewrites are emitted: an action th
crates/genie-core/src/tools/home_action.rs:66
↓ 3 callers
Function
capture_miss_events
(body: F)
crates/genie-core/tests/memory_recall.rs:550
↓ 3 callers
Function
cfg
(require_token: bool, tokens: &[(&str, &str)])
crates/genie-core/src/origin_auth.rs:177
↓ 3 callers
Method
chat_with_format_and_hints
( &self, messages: &[Message], max_tokens: Option<u32>, response_format: Optio
crates/genie-core/src/llm/mod.rs:338
↓ 3 callers
Function
clean_profile_name
(value: &str)
crates/genie-core/src/memory/mod.rs:8921
↓ 3 callers
Function
contextual_household_batch_five_type
(lower: &str)
crates/genie-core/src/memory/mod.rs:4383
↓ 3 callers
Method
count
Number of registered credentials.
crates/genie-core/src/security/credentials.rs:165
↓ 3 callers
Method
credential_env
(&self)
crates/genie-common/src/config.rs:386
↓ 3 callers
Function
domain_of_word
Map a single query word to a device domain, mirroring the runtime `infer_domain`.
crates/genie-core/src/ha/entity_fidelity.rs:26
↓ 3 callers
Function
duration_unit_seconds
Seconds-per-unit for a duration unit token, or `None` when the token is not a recognized time unit.
crates/genie-core/src/tools/quick.rs:2886
↓ 3 callers
Function
enroll_speaker_file
Enroll a local speaker profile from a short WAV sample. The generated profile is local-only JSON. It stores a compact acoustic fingerprint, not raw a
crates/genie-core/src/voice/identity.rs:170
↓ 3 callers
Method
ensure_enabled_ready
Fail-loud validation when `enabled = true` (#568).
crates/genie-common/src/config.rs:394
↓ 3 callers
Function
eval_factor
(tokens: &[String], pos: &mut usize)
crates/genie-core/tests/tools_test.rs:226
↓ 3 callers
Function
eval_term
(tokens: &[String], pos: &mut usize)
crates/genie-core/tests/tools_test.rs:204
↓ 3 callers
Function
exponential_decay
Temporal decay functions for memory scoring. Implements exponential decay: score(t) = score(0) * exp(-lambda * t) where lambda = ln(2) / half_life_da
crates/genie-core/src/memory/decay.rs:13
↓ 3 callers
Function
extract_location_after_marker
(text: &str, marker: &str)
crates/genie-core/src/tools/quick.rs:2717
↓ 3 callers
Function
fit_corpus
Entry sets that exercise the accept path, the exact-boundary case, and the break path — including the first entry alone already overflowing.
crates/genie-core/src/memory/inject.rs:252
↓ 3 callers
Function
fit_entries_reference
The original O(n^2) budget fit: clone the growing prefix and re-`join` every kept entry to measure the budget on each step. Kept verbatim as the oracl
crates/genie-core/src/memory/inject.rs:234
↓ 3 callers
Function
flatten_system_into_first_user
(messages: &[Message])
crates/genie-core/src/llm/openai_compat.rs:1237
↓ 3 callers
Function
format_agent_harness_status
(harness: &serde_json::Value)
crates/genie-ctl/src/main.rs:1813
↓ 3 callers
Method
get_by_id
(&self, id: i64)
crates/genie-core/src/memory/mod.rs:2573
↓ 3 callers
Method
graph
(&self)
crates/genie-core/src/ha/provider.rs:203
↓ 3 callers
Function
health
()
crates/genie-core/src/ha/policy.rs:286
↓ 3 callers
Method
health
Lightweight operator health check for the memory store.
crates/genie-core/src/memory/mod.rs:2479
↓ 3 callers
Method
household_notes_search
(&self, query: &str, limit: usize)
crates/genie-core/src/memory/mod.rs:1507
↓ 3 callers
Method
household_rules
( &self, person: Option<&str>, rule_type: &str, subject: Option<&str>, )
crates/genie-core/src/memory/mod.rs:1470
↓ 3 callers
Function
http_get
HTTPS GET against an Open-Meteo host via the shared outbound HTTP client. Production callers reach this via the host-only convenience signature; it de
crates/genie-core/src/tools/weather.rs:214
↓ 3 callers
Method
http_get
(&self, path: &str)
crates/genie-core/src/ha/client.rs:162
↓ 3 callers
Function
infer_domain
(query: &str)
crates/genie-core/src/ha/provider.rs:986
↓ 3 callers
Method
is_known_tool
Whether `name` is a currently-available tool, without building the full [`tool_defs`](Self::tool_defs) table. The tool-call parser only needs the *na
crates/genie-core/src/tools/dispatch/mod.rs:290
↓ 3 callers
Method
is_resolved
True when a transport supplied a resolved speaker (name or confidence).
crates/genie-core/src/channel/mod.rs:63
↓ 3 callers
Function
is_unparsed_tool_call
True when the model output structurally resembles a tool call but no valid tool-call JSON can be extracted from it — e.g. the model emitted invalid JS
crates/genie-core/src/tools/parser.rs:44
↓ 3 callers
Method
last_undoable
(&self)
crates/genie-core/src/tools/actuation.rs:279
↓ 3 callers
Function
latest_confirmation_token
Fetch the freshest pending confirmation token from the dispatcher. The token is deliberately NOT echoed into `home_control`'s tool output (it is a be
crates/genie-core/src/tools/dispatch/mod.rs:3425
↓ 3 callers
Method
len
(&self)
crates/genie-core/src/telegram.rs:116
↓ 3 callers
Method
lexical_overlap_score
Lexical-overlap score with the same `0.05` floor as the original `lexical_overlap_score(query, other)`.
crates/genie-core/src/memory/mod.rs:9121
↓ 3 callers
Function
loadMemories
()
crates/dashboard/dashboard.js:376
↓ 3 callers
Function
load_all_with_policy
Load all skills from the configured skills directory with a runtime policy.
crates/genie-core/src/skills/mod.rs:33
↓ 3 callers
Function
load_predictions_jsonl
(path: impl AsRef<Path>)
crates/genie-core/src/eval/bfcl.rs:117
↓ 3 callers
Function
makeChart
(canvasId, label, color, yMax)
crates/dashboard/dashboard.js:26
↓ 3 callers
Function
make_conv
(store: &ConversationStore, id: &str)
crates/genie-core/src/conversation.rs:869
↓ 3 callers
Function
make_messages
(n: usize)
crates/genie-core/src/context.rs:143
↓ 3 callers
Method
media_playlist_for_query
(&self, query: &str)
crates/genie-core/src/memory/mod.rs:1645
↓ 3 callers
Method
memory_read_context
Memory policy inputs for this speaker.
crates/genie-core/src/channel/mod.rs:68
↓ 3 callers
Function
memory_read_context_from_text
Build a [`MemoryReadContext`] from turn text and resolved identity, without depending on the `voice` feature (used by `channel::SpeakerInfo` and voice
crates/genie-core/src/memory/policy.rs:177
↓ 3 callers
Function
next_temp_nonce
()
crates/genie-core/src/telegram.rs:26
↓ 3 callers
Function
next_temp_nonce
()
crates/genie-core/src/voice/stt.rs:13
↓ 3 callers
Function
normalize_rule_subject
(value: &str)
crates/genie-core/src/memory/mod.rs:8009
↓ 3 callers
Function
parse_amount
(text: &str)
crates/genie-core/src/tools/number_words.rs:47
↓ 3 callers
Function
parse_bfcl_score_args
(args: &[String])
crates/genie-ctl/src/main.rs:1084
↓ 3 callers
Function
parse_openai_function_call_for_eval
(value: &serde_json::Value)
crates/genie-core/src/tools/parser.rs:246
↓ 3 callers
Function
parse_quantity_token
(token: &str)
crates/genie-core/src/memory/mod.rs:7911
← previous
next →
301–400 of 3,215, ranked by callers