MCPcopy Create free account

hub / github.com/GeniePod/genie-claw / functions

Functions3,215 in github.com/GeniePod/genie-claw

↓ 5 callersFunctionbuild_memory_read_context
(text: &str, speaker: &SpeakerIdentity)
crates/genie-core/src/voice/identity.rs:623
↓ 5 callersFunctionbuild_runtime_contract
( system_prompt: &str, model_family: ModelFamily, max_history_turns: usize, tools: &[ToolDef],
crates/genie-core/src/runtime_contract.rs:92
↓ 5 callersFunctioncancel_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 callersFunctioncanonicalize_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 callersFunctionclear_echo_reference
Clear the echo reference (called after mic recording is done).
crates/genie-core/src/voice/aec.rs:62
↓ 5 callersFunctionconfig_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 callersMethodconfirm_pending_home_action
(&self, token: &str)
crates/genie-core/src/tools/dispatch/home.rs:363
↓ 5 callersFunctioncontains_any
(haystack: &str, needles: &[&str])
crates/genie-core/src/memory/mod.rs:7994
↓ 5 callersFunctiondashboard_service_targets
(config: &Config)
crates/genie-api/src/routes.rs:253
↓ 5 callersFunctiondecide_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 callersMethodexec_memory_forget
( &self, args: &serde_json::Value, exec_ctx: ToolExecutionContext, )
crates/genie-core/src/tools/dispatch/memory.rs:342
↓ 5 callersFunctionexpect_probe_target
(target: &ServiceProbeTarget)
crates/genie-ctl/src/main.rs:2720
↓ 5 callersFunctionextract_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 callersMethodfeed
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 callersFunctionfit_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 callersMethodget_mut
Get a mutable reference to a loaded skill by name.
crates/genie-core/src/skills/loader.rs:753
↓ 5 callersFunctiongovernor_cmd
(json: &str)
crates/genie-ctl/src/main.rs:2690
↓ 5 callersFunctionhandle_web_search
POST /api/web-search
crates/genie-core/src/server.rs:2242
↓ 5 callersMethodhousehold_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 callersFunctionhttp_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 callersFunctionimport_ha_intents
(args: &HaIntentsImportArgs)
crates/genie-ctl/src/bfcl_import.rs:144
↓ 5 callersFunctioninsert_at
(store: &ConversationStore, conv_id: &str, content: &str, ts_ms: i64)
crates/genie-core/src/conversation.rs:818
↓ 5 callersMethodissue
( &self, entity: &str, action: &str, value: Option<f64>, reason: &str,
crates/genie-core/src/tools/actuation.rs:130
↓ 5 callersMethodload_all
Scan the skills directory and load all `.so` files.
crates/genie-core/src/skills/loader.rs:584
↓ 5 callersFunctionoffline_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 callersFunctionparse_search_args
(args: &[String])
crates/genie-ctl/src/main.rs:1046
↓ 5 callersFunctionread_bounded_http_response
( reader: tokio::net::tcp::OwnedReadHalf, max_response_bytes: usize, )
crates/genie-core/src/llm/openai_compat.rs:828
↓ 5 callersFunctionread_with_timeout
( stream: &mut (impl AsyncReadExt + Unpin), read_timeout: Duration, chunk: &mut [u8; 1024], )
crates/genie-common/src/probe.rs:395
↓ 5 callersMethodrecord_canonical_event
(&self, event: MemoryEvent)
crates/genie-core/src/memory/mod.rs:2629
↓ 5 callersMethodrecv
(&mut self)
crates/genie-core/src/channel/scripted.rs:44
↓ 5 callersMethodregister
Register a credential. Called during startup from config.
crates/genie-core/src/security/credentials.rs:114
↓ 5 callersFunctionroundtrip
(port: u16, raw: &str)
crates/genie-api/src/http.rs:380
↓ 5 callersFunctionrouted_temperature
(text: &str)
crates/genie-core/tests/quick_spoken_setpoint_test.rs:3
↓ 5 callersFunctionrun
(label: &str, input: &str, iters: u32)
crates/genie-core/tests/extract_bench.rs:4
↓ 5 callersFunctionscan
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 callersFunctionsearch_tokens
(text: &str)
crates/genie-core/src/memory/mod.rs:9166
↓ 5 callersFunctionshared_memory
(path: &std::path::Path)
crates/genie-core/src/server.rs:2751
↓ 5 callersFunctionsingle_user_message
(text: &str)
crates/genie-core/src/reasoning.rs:193
↓ 5 callersFunctionspawn_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 callersFunctionstable_hash
(input: &str)
crates/genie-core/src/runtime_contract.rs:163
↓ 5 callersFunctionstart_server
Bind to an ephemeral port, start the hardened listener, return the port.
crates/genie-api/src/http.rs:272
↓ 5 callersFunctiontail_lines
Return up to `limit` trailing non-empty lines from `path`, in file order.
crates/genie-common/src/jsonl.rs:15
↓ 5 callersFunctiontemp_memory
()
crates/genie-core/src/profile/ingest.rs:265
↓ 5 callersFunctiontest_client
(addr: std::net::SocketAddr)
crates/genie-core/src/ha/client.rs:448
↓ 5 callersFunctiontest_config
()
crates/genie-health/src/checker.rs:311
↓ 5 callersMethodtimed
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 callersFunctiontwo_lamp_graph
()
crates/genie-core/src/ha/provider.rs:1349
↓ 5 callersFunctionunique_db_paths
(tag: &str)
crates/genie-core/src/server.rs:3589
↓ 5 callersFunctionuser
(text: &str)
crates/genie-core/tests/provider_test.rs:12
↓ 5 callersFunctionvalidate_limited_context_agent
( system_prompt: &str, tools: &[ToolDef], memory_context: &str, agent: &AgentConfig, provi
crates/genie-core/src/agent_harness.rs:39
↓ 5 callersFunctionvalue_to_string
Convert a TOML value to a display string.
crates/genie-core/src/profile/toml_profile.rs:128
↓ 5 callersMethodwith_tool_policy_config
(mut self, config: ToolPolicyConfig)
crates/genie-core/src/tools/dispatch/mod.rs:428
↓ 5 callersFunctionwrite_stream_headers
( writer: &mut OwnedWriteHalf, status: u16, reflect_origin: Option<&str>, )
crates/genie-core/src/server.rs:1557
↓ 5 callersFunctionwrite_test_wav
(path: &Path, f1: f32, f2: f32)
crates/genie-core/src/voice/identity.rs:787
↓ 4 callersMethodapp_only_secret_references
(&self, query: &str)
crates/genie-core/src/memory/mod.rs:1574
↓ 4 callersMethodappend_daily_note
(&self, ts_ms: u64, kind: &str, content: &str)
crates/genie-core/src/memory/mod.rs:2644
↓ 4 callersFunctionapply_agc
Automatic Gain Control — normalize RMS to target level.
crates/genie-core/src/voice/dsp.rs:58
↓ 4 callersFunctionapply_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 callersFunctionassert_append_only
(path: &Path, previous_len: usize)
crates/genie-core/tests/tool_gate_integration_test.rs:71
↓ 4 callersFunctionassess_runtime_home_action
( action: &HomeAction, policy: &ActionPolicyDecision, health: &IntegrationHealth, current_stat
crates/genie-core/src/ha/policy.rs:153
↓ 4 callersFunctionbest_alias_score
(query_words: &[&str], query_lower: &str, aliases: &[String])
crates/genie-core/src/ha/provider.rs:1102
↓ 4 callersFunctionbill_subject_from_text
(content: &str, lower: &str)
crates/genie-core/src/memory/mod.rs:7350
↓ 4 callersMethodchat_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 callersMethodchat_stream_with_hints
( &self, messages: &[Message], max_tokens: Option<u32>, hints: &LlmRequestHint
crates/genie-core/src/llm/mod.rs:364
↓ 4 callersMethodchat_with_format
( &self, messages: &[Message], max_tokens: Option<u32>, response_format: Optio
crates/genie-core/src/llm/mod.rs:317
↓ 4 callersMethodchat_with_hints
( &self, messages: &[Message], max_tokens: Option<u32>, hints: &LlmRequestHint
crates/genie-core/src/llm/mod.rs:328
↓ 4 callersFunctionclassify_sqlite_error
Classify a SQLite error string and return an HTTP status code + error message.
crates/genie-api/src/routes.rs:48
↓ 4 callersFunctionclean_text
(text: &str)
crates/genie-core/src/tools/web_search.rs:634
↓ 4 callersMethodconnect
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 callersFunctioncontains_any
(text: &str, needles: &[&str])
crates/genie-core/src/memory/embedding.rs:99
↓ 4 callersMethoddelete_by_id
Delete a memory by ID.
crates/genie-core/src/memory/mod.rs:2186
↓ 4 callersFunctionestimate_hydration_tokens
(text: &str)
crates/genie-core/src/memory/inject.rs:11
↓ 4 callersFunctionestimate_tokens
(text: &str)
crates/genie-core/src/agent_harness.rs:109
↓ 4 callersFunctionformatTime
(ts)
crates/dashboard/dashboard.js:248
↓ 4 callersFunctionformat_memory_lines
(entries: &[String])
crates/genie-core/src/memory/inject.rs:22
↓ 4 callersFunctionformat_results
(query: &str, body: &str, limit: usize)
crates/genie-core/src/tools/web_search.rs:412
↓ 4 callersFunctionfuse_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 callersMethodget_messages
Get all messages in a conversation, including the tagged speaker (if any).
crates/genie-core/src/conversation.rs:213
↓ 4 callersFunctionguard
()
crates/genie-common/src/http.rs:772
↓ 4 callersMethodhealth
(&self)
crates/genie-core/src/connectivity/mod.rs:129
↓ 4 callersFunctionhome_assistant_status
(ha: Option<&dyn HomeAutomationProvider>)
crates/genie-core/src/tools/system.rs:76
↓ 4 callersMethodidentify
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 callersFunctionidentify_speaker_file
Identify the best enrolled speaker for a WAV file.
crates/genie-core/src/voice/identity.rs:202
↓ 4 callersFunctioninsert_health_log
(db: &Connection, ts_ms: u64, status: &ServiceStatus)
crates/genie-health/src/checker.rs:181
↓ 4 callersFunctioninstall_skill
( source: &Path, skills_dir: &Path, dest_name: Option<&str>, )
crates/genie-ctl/src/main.rs:803
↓ 4 callersFunctionis_remote_url
(url: &str)
crates/genie-common/src/config.rs:570
↓ 4 callersMethodkind
(&self)
crates/genie-core/src/channel/scripted.rs:40
↓ 4 callersMethodlimited_context_compatible
(&self, agent: &AgentConfig)
crates/genie-common/src/config.rs:375
↓ 4 callersMethodlist
(&self)
crates/genie-core/src/tools/actuation.rs:181
↓ 4 callersMethodllm_service_unit
(&self)
crates/genie-governor/src/governor.rs:279
↓ 4 callersFunctionload_installed_skills
(skills_dir: &Path)
crates/genie-ctl/src/main.rs:735
↓ 4 callersFunctionmake_governor
()
crates/genie-governor/src/governor.rs:518
↓ 4 callersFunctionmay_inject_entry
(entry: &super::MemoryEntry, read_context: policy::MemoryReadContext)
crates/genie-core/src/memory/inject.rs:220
↓ 4 callersFunctionmerge_service_rows
( targets: &[ServiceTarget], health: &BTreeMap<String, HealthRow>, live_latency: &BTreeMap<String,
crates/genie-api/src/routes.rs:361
↓ 4 callersMethodmethod_url
(&self, method: &str)
crates/genie-core/src/telegram.rs:870
↓ 4 callersFunctionnormalize_household_role
(value: &str)
crates/genie-core/src/memory/mod.rs:8932
↓ 4 callersFunctionnormalize_memory_content
(content: &str)
crates/genie-core/src/memory/mod.rs:9126
↓ 4 callersMethodopen
(path: &Path)
crates/genie-governor/src/store.rs:15
↓ 4 callersMethodopen
(path: &Path)
crates/genie-core/src/memory/mod.rs:307
↓ 4 callersFunctionparse_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
← previousnext →201–300 of 3,215, ranked by callers