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
↓ 5 callers
Function
build_memory_read_context
(text: &str, speaker: &SpeakerIdentity)
crates/genie-core/src/voice/identity.rs:623
↓ 5 callers
Function
build_runtime_contract
( system_prompt: &str, model_family: ModelFamily, max_history_turns: usize, tools: &[ToolDef],
crates/genie-core/src/runtime_contract.rs:92
↓ 5 callers
Function
cancel_echo
Apply echo cancellation to mic recording. Uses NLMS adaptive filter to estimate and subtract the echo component. If no echo reference is stored (TTS
crates/genie-core/src/voice/aec.rs:75
↓ 5 callers
Function
canonicalize_entity_args
Deep-clone `args`, replacing any entity-like string argument with a stable canonical token derived from the entities the runtime resolver would act on
crates/genie-core/src/eval/bfcl.rs:552
↓ 5 callers
Function
clear_echo_reference
Clear the echo reference (called after mic recording is done).
crates/genie-core/src/voice/aec.rs:62
↓ 5 callers
Function
config_with_http
Parse a `Config` from a TOML fragment; every field has a serde default, so the fragment only needs the `[http]` overrides under test.
crates/genie-api/src/http.rs:267
↓ 5 callers
Method
confirm_pending_home_action
(&self, token: &str)
crates/genie-core/src/tools/dispatch/home.rs:363
↓ 5 callers
Function
contains_any
(haystack: &str, needles: &[&str])
crates/genie-core/src/memory/mod.rs:7994
↓ 5 callers
Function
dashboard_service_targets
(config: &Config)
crates/genie-api/src/routes.rs:253
↓ 5 callers
Function
decide_startup_mode
Decide whether startup may enter voice mode. Push-to-talk consumes stdin, so it is only valid with an interactive terminal. Wake-word mode owns its o
crates/genie-core/src/runtime_mode.rs:42
↓ 5 callers
Method
exec_memory_forget
( &self, args: &serde_json::Value, exec_ctx: ToolExecutionContext, )
crates/genie-core/src/tools/dispatch/memory.rs:342
↓ 5 callers
Function
expect_probe_target
(target: &ServiceProbeTarget)
crates/genie-ctl/src/main.rs:2720
↓ 5 callers
Function
extract_vocab_terms
Extract entity-level vocabulary terms from a memory entry for PrivacyProxy seeding. PrivacyProxy builds its substitution map ("Alex" → "__PERSON_1__"
crates/genie-core/src/memory/policy.rs:562
↓ 5 callers
Method
feed
Feed a chunk of raw LLM output. Returns any complete sentences that became ready (already cleaned for TTS). Returns an empty vec once the per-response
crates/genie-core/src/voice/streaming.rs:168
↓ 5 callers
Function
fit_entries_to_budget
Greedily keep the longest in-order prefix of `entries` whose formatted `- {entry}` lines (joined by newlines) fit the hydration token budget. The str
crates/genie-core/src/memory/inject.rs:82
↓ 5 callers
Method
get_mut
Get a mutable reference to a loaded skill by name.
crates/genie-core/src/skills/loader.rs:753
↓ 5 callers
Function
governor_cmd
(json: &str)
crates/genie-ctl/src/main.rs:2690
↓ 5 callers
Function
handle_web_search
POST /api/web-search
crates/genie-core/src/server.rs:2242
↓ 5 callers
Method
household_security_summary
Redacted posture for dashboards and support tools. This intentionally reports capability and risk state instead of raw TOML, file paths, endpoint URL
crates/genie-common/src/config.rs:1700
↓ 5 callers
Function
http_get_with_limits
Inner implementation that takes explicit limits — exposed `pub(crate)` only so the test module can point at an ephemeral plain-HTTP mock listener (`tl
crates/genie-core/src/tools/weather.rs:231
↓ 5 callers
Function
import_ha_intents
(args: &HaIntentsImportArgs)
crates/genie-ctl/src/bfcl_import.rs:144
↓ 5 callers
Function
insert_at
(store: &ConversationStore, conv_id: &str, content: &str, ts_ms: i64)
crates/genie-core/src/conversation.rs:818
↓ 5 callers
Method
issue
( &self, entity: &str, action: &str, value: Option<f64>, reason: &str,
crates/genie-core/src/tools/actuation.rs:130
↓ 5 callers
Method
load_all
Scan the skills directory and load all `.so` files.
crates/genie-core/src/skills/loader.rs:584
↓ 5 callers
Function
offline_server
A `ChatServer` whose LLM points at a dead port (so `/api/health` returns quickly without needing a model), wired with the given HTTP hardening.
crates/genie-core/src/server.rs:3607
↓ 5 callers
Function
parse_search_args
(args: &[String])
crates/genie-ctl/src/main.rs:1046
↓ 5 callers
Function
read_bounded_http_response
( reader: tokio::net::tcp::OwnedReadHalf, max_response_bytes: usize, )
crates/genie-core/src/llm/openai_compat.rs:828
↓ 5 callers
Function
read_with_timeout
( stream: &mut (impl AsyncReadExt + Unpin), read_timeout: Duration, chunk: &mut [u8; 1024], )
crates/genie-common/src/probe.rs:395
↓ 5 callers
Method
record_canonical_event
(&self, event: MemoryEvent)
crates/genie-core/src/memory/mod.rs:2629
↓ 5 callers
Method
recv
(&mut self)
crates/genie-core/src/channel/scripted.rs:44
↓ 5 callers
Method
register
Register a credential. Called during startup from config.
crates/genie-core/src/security/credentials.rs:114
↓ 5 callers
Function
roundtrip
(port: u16, raw: &str)
crates/genie-api/src/http.rs:380
↓ 5 callers
Function
routed_temperature
(text: &str)
crates/genie-core/tests/quick_spoken_setpoint_test.rs:3
↓ 5 callers
Function
run
(label: &str, input: &str, iters: u32)
crates/genie-core/tests/extract_bench.rs:4
↓ 5 callers
Function
scan
Scan text for prompt injection patterns. Two normalized views of the input are matched against, picked per pattern: - **Word patterns** (natural-lan
crates/genie-core/src/security/injection.rs:32
↓ 5 callers
Function
search_tokens
(text: &str)
crates/genie-core/src/memory/mod.rs:9166
↓ 5 callers
Function
shared_memory
(path: &std::path::Path)
crates/genie-core/src/server.rs:2751
↓ 5 callers
Function
single_user_message
(text: &str)
crates/genie-core/src/reasoning.rs:193
↓ 5 callers
Function
spawn_listener
Spawn a `TcpListener` on a free local port, run `handler` on each accepted connection. Returns the bound address.
crates/genie-core/src/ha/client.rs:433
↓ 5 callers
Function
stable_hash
(input: &str)
crates/genie-core/src/runtime_contract.rs:163
↓ 5 callers
Function
start_server
Bind to an ephemeral port, start the hardened listener, return the port.
crates/genie-api/src/http.rs:272
↓ 5 callers
Function
tail_lines
Return up to `limit` trailing non-empty lines from `path`, in file order.
crates/genie-common/src/jsonl.rs:15
↓ 5 callers
Function
temp_memory
()
crates/genie-core/src/profile/ingest.rs:265
↓ 5 callers
Function
test_client
(addr: std::net::SocketAddr)
crates/genie-core/src/ha/client.rs:448
↓ 5 callers
Function
test_config
()
crates/genie-health/src/checker.rs:311
↓ 5 callers
Method
timed
Run a single read/write future under a timeout, mapping both the I/O error and the elapsed-timeout into a descriptive `anyhow` error. `op` labels the
crates/genie-core/src/llm/openai_compat.rs:452
↓ 5 callers
Function
two_lamp_graph
()
crates/genie-core/src/ha/provider.rs:1349
↓ 5 callers
Function
unique_db_paths
(tag: &str)
crates/genie-core/src/server.rs:3589
↓ 5 callers
Function
user
(text: &str)
crates/genie-core/tests/provider_test.rs:12
↓ 5 callers
Function
validate_limited_context_agent
( system_prompt: &str, tools: &[ToolDef], memory_context: &str, agent: &AgentConfig, provi
crates/genie-core/src/agent_harness.rs:39
↓ 5 callers
Function
value_to_string
Convert a TOML value to a display string.
crates/genie-core/src/profile/toml_profile.rs:128
↓ 5 callers
Method
with_tool_policy_config
(mut self, config: ToolPolicyConfig)
crates/genie-core/src/tools/dispatch/mod.rs:428
↓ 5 callers
Function
write_stream_headers
( writer: &mut OwnedWriteHalf, status: u16, reflect_origin: Option<&str>, )
crates/genie-core/src/server.rs:1557
↓ 5 callers
Function
write_test_wav
(path: &Path, f1: f32, f2: f32)
crates/genie-core/src/voice/identity.rs:787
↓ 4 callers
Method
app_only_secret_references
(&self, query: &str)
crates/genie-core/src/memory/mod.rs:1574
↓ 4 callers
Method
append_daily_note
(&self, ts_ms: u64, kind: &str, content: &str)
crates/genie-core/src/memory/mod.rs:2644
↓ 4 callers
Function
apply_agc
Automatic Gain Control — normalize RMS to target level.
crates/genie-core/src/voice/dsp.rs:58
↓ 4 callers
Function
apply_voice_eq
Simple 3-band EQ for voice clarity. Voice-optimized curve: - Bass shelf (+2 dB below 200 Hz): warm up thin speaker - Presence peak (+4 dB at 2-4 kHz)
crates/genie-core/src/voice/dsp.rs:183
↓ 4 callers
Function
assert_append_only
(path: &Path, previous_len: usize)
crates/genie-core/tests/tool_gate_integration_test.rs:71
↓ 4 callers
Function
assess_runtime_home_action
( action: &HomeAction, policy: &ActionPolicyDecision, health: &IntegrationHealth, current_stat
crates/genie-core/src/ha/policy.rs:153
↓ 4 callers
Function
best_alias_score
(query_words: &[&str], query_lower: &str, aliases: &[String])
crates/genie-core/src/ha/provider.rs:1102
↓ 4 callers
Function
bill_subject_from_text
(content: &str, lower: &str)
crates/genie-core/src/memory/mod.rs:7350
↓ 4 callers
Method
chat_lock
Returns (creating if necessary) the per-chat serialization mutex, updating the entry's last-access timestamp for TTL eviction. Keeping the map under a
crates/genie-core/src/telegram.rs:211
↓ 4 callers
Method
chat_stream_with_hints
( &self, messages: &[Message], max_tokens: Option<u32>, hints: &LlmRequestHint
crates/genie-core/src/llm/mod.rs:364
↓ 4 callers
Method
chat_with_format
( &self, messages: &[Message], max_tokens: Option<u32>, response_format: Optio
crates/genie-core/src/llm/mod.rs:317
↓ 4 callers
Method
chat_with_hints
( &self, messages: &[Message], max_tokens: Option<u32>, hints: &LlmRequestHint
crates/genie-core/src/llm/mod.rs:328
↓ 4 callers
Function
classify_sqlite_error
Classify a SQLite error string and return an HTTP status code + error message.
crates/genie-api/src/routes.rs:48
↓ 4 callers
Function
clean_text
(text: &str)
crates/genie-core/src/tools/web_search.rs:634
↓ 4 callers
Method
connect
Connect to the backend, bounded by the configured connect timeout. The streaming path previously called `TcpStream::connect` with no timeout (issue #
crates/genie-core/src/llm/openai_compat.rs:432
↓ 4 callers
Function
contains_any
(text: &str, needles: &[&str])
crates/genie-core/src/memory/embedding.rs:99
↓ 4 callers
Method
delete_by_id
Delete a memory by ID.
crates/genie-core/src/memory/mod.rs:2186
↓ 4 callers
Function
estimate_hydration_tokens
(text: &str)
crates/genie-core/src/memory/inject.rs:11
↓ 4 callers
Function
estimate_tokens
(text: &str)
crates/genie-core/src/agent_harness.rs:109
↓ 4 callers
Function
formatTime
(ts)
crates/dashboard/dashboard.js:248
↓ 4 callers
Function
format_memory_lines
(entries: &[String])
crates/genie-core/src/memory/inject.rs:22
↓ 4 callers
Function
format_results
(query: &str, body: &str, limit: usize)
crates/genie-core/src/tools/web_search.rs:412
↓ 4 callers
Function
fuse_recall_candidates
Fuse the lexical (BM25/LIKE) and semantic (cosine) recall rankings into a single relevance-ordered list using Reciprocal Rank Fusion. Previously the
crates/genie-core/src/memory/recall.rs:235
↓ 4 callers
Method
get_messages
Get all messages in a conversation, including the tagged speaker (if any).
crates/genie-core/src/conversation.rs:213
↓ 4 callers
Function
guard
()
crates/genie-common/src/http.rs:772
↓ 4 callers
Method
health
(&self)
crates/genie-core/src/connectivity/mod.rs:129
↓ 4 callers
Function
home_assistant_status
(ha: Option<&dyn HomeAutomationProvider>)
crates/genie-core/src/tools/system.rs:76
↓ 4 callers
Method
identify
Resolve a speaker identity for `request`. `LocalBiometric` scans every enrolled profile file on disk to find a match — synchronous filesystem I/O tha
crates/genie-core/src/voice/identity.rs:119
↓ 4 callers
Function
identify_speaker_file
Identify the best enrolled speaker for a WAV file.
crates/genie-core/src/voice/identity.rs:202
↓ 4 callers
Function
insert_health_log
(db: &Connection, ts_ms: u64, status: &ServiceStatus)
crates/genie-health/src/checker.rs:181
↓ 4 callers
Function
install_skill
( source: &Path, skills_dir: &Path, dest_name: Option<&str>, )
crates/genie-ctl/src/main.rs:803
↓ 4 callers
Function
is_remote_url
(url: &str)
crates/genie-common/src/config.rs:570
↓ 4 callers
Method
kind
(&self)
crates/genie-core/src/channel/scripted.rs:40
↓ 4 callers
Method
limited_context_compatible
(&self, agent: &AgentConfig)
crates/genie-common/src/config.rs:375
↓ 4 callers
Method
list
(&self)
crates/genie-core/src/tools/actuation.rs:181
↓ 4 callers
Method
llm_service_unit
(&self)
crates/genie-governor/src/governor.rs:279
↓ 4 callers
Function
load_installed_skills
(skills_dir: &Path)
crates/genie-ctl/src/main.rs:735
↓ 4 callers
Function
make_governor
()
crates/genie-governor/src/governor.rs:518
↓ 4 callers
Function
may_inject_entry
(entry: &super::MemoryEntry, read_context: policy::MemoryReadContext)
crates/genie-core/src/memory/inject.rs:220
↓ 4 callers
Function
merge_service_rows
( targets: &[ServiceTarget], health: &BTreeMap<String, HealthRow>, live_latency: &BTreeMap<String,
crates/genie-api/src/routes.rs:361
↓ 4 callers
Method
method_url
(&self, method: &str)
crates/genie-core/src/telegram.rs:870
↓ 4 callers
Function
normalize_household_role
(value: &str)
crates/genie-core/src/memory/mod.rs:8932
↓ 4 callers
Function
normalize_memory_content
(content: &str)
crates/genie-core/src/memory/mod.rs:9126
↓ 4 callers
Method
open
(path: &Path)
crates/genie-governor/src/store.rs:15
↓ 4 callers
Method
open
(path: &Path)
crates/genie-core/src/memory/mod.rs:307
↓ 4 callers
Function
parse_embedding
Decode a packed little-endian f32 embedding BLOB (4 bytes per dimension). Returns `None` if the byte length doesn't match `dimensions * 4`.
crates/genie-core/src/memory/mod.rs:5942
← previous
next →
201–300 of 3,215, ranked by callers