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
↓ 2 callers
Function
collect_result_item
(value: &Value, items: &mut Vec<SearchItem>)
crates/genie-core/src/tools/web_search.rs:607
↓ 2 callers
Function
compact_genie_runtime_messages
(messages: &[Message], max_body_bytes: usize)
crates/genie-core/src/llm/openai_compat.rs:1036
↓ 2 callers
Function
compare_json_values
( expected: &Value, actual: &Value, path: &str, allow_extra_arguments: bool, diffs: &mut V
crates/genie-core/src/eval/bfcl.rs:359
↓ 2 callers
Function
configured_language
Normalize the configured STT language ("auto", "" → None; everything else passed through trimmed). Mirrors `voice::language::configured_language` with
crates/genie-core/src/telegram.rs:907
↓ 2 callers
Method
confirm
(&self, token: &str)
crates/genie-core/src/tools/actuation.rs:164
↓ 2 callers
Function
contains_any
(text: &str, needles: &[&str])
crates/genie-core/src/voice/intent.rs:170
↓ 2 callers
Function
cors_response_headers
Build the CORS response header lines (each `\r\n`-terminated) for an outgoing response, given the `Origin` to reflect (from [`RequestGuard::check_requ
crates/genie-common/src/http.rs:499
↓ 2 callers
Method
credential_env
(&self)
crates/genie-core/src/llm/provider.rs:74
↓ 2 callers
Method
db_size_bytes
Return the on-disk size of the memory database in bytes, estimated from SQLite's `PRAGMA page_count` × `PRAGMA page_size`.
crates/genie-core/src/memory/mod.rs:1294
↓ 2 callers
Function
dedup_aliases
(values: Vec<String>)
crates/genie-core/src/ha/provider.rs:900
↓ 2 callers
Function
domain_for_entry
(entry: &HaDataEntry, template: &str)
crates/genie-ctl/src/bfcl_import.rs:634
↓ 2 callers
Function
domain_synonyms
(domain: &str)
crates/genie-core/src/ha/provider.rs:958
↓ 2 callers
Function
dream_cycle
Run the dreaming consolidation cycle. Returns: (promoted_count, pruned_count)
crates/genie-core/src/memory/recall.rs:61
↓ 2 callers
Method
endpoint_is_valid
Return true when `base_url` resolves to a localhost address. PrivacyProxy must always run on-device; a remote URL would defeat the privacy guarantee
crates/genie-common/src/config.rs:537
↓ 2 callers
Method
enforces_token
True when a token is configured and will be enforced on mutating routes.
crates/genie-common/src/http.rs:443
↓ 2 callers
Function
ensure_port
Append `:default_port` to `authority` unless it already carries an explicit port. Bracket-aware so a bare `[::1]` correctly gets the default added (a
crates/genie-common/src/config.rs:1420
↓ 2 callers
Function
escalate_via_privacy_proxy
Route a chat turn through the on-device PrivacyProxy. Seeds the proxy with anonymization-eligible memory terms (those whose `EscalationPolicy` is `An
crates/genie-core/src/server.rs:1409
↓ 2 callers
Function
estimate_hydration_tokens_from_len
Token estimate from a byte length. Shared by [`estimate_hydration_tokens`] and the incremental fit in [`fit_entries_to_budget`] so both paths apply th
crates/genie-core/src/memory/inject.rs:18
↓ 2 callers
Function
estimate_message_bytes
(message: &Message)
crates/genie-core/src/llm/openai_compat.rs:1221
↓ 2 callers
Function
eval_calc
(expr: &str)
crates/genie-core/tests/tools_test.rs:86
↓ 2 callers
Function
eval_tokens
(tokens: &[String], pos: &mut usize)
crates/genie-core/tests/tools_test.rs:186
↓ 2 callers
Method
exec_home_control_inner
( &self, args: &serde_json::Value, exec_ctx: ToolExecutionContext, undo_of: Op
crates/genie-core/src/tools/dispatch/home.rs:131
↓ 2 callers
Method
exec_memory_status
(&self)
crates/genie-core/src/tools/dispatch/memory.rs:299
↓ 2 callers
Method
execute_parsed
Execute the skill and parse the JSON result into success/output. The C ABI call runs on a blocking thread under the configured deadline (see [`SkillI
crates/genie-core/src/skills/loader.rs:365
↓ 2 callers
Method
export_json
Export a conversation as JSON.
crates/genie-core/src/conversation.rs:398
↓ 2 callers
Function
extract_fingerprint
(audio: &WavAudio)
crates/genie-core/src/voice/identity.rs:425
↓ 2 callers
Function
extract_key_value_facts
Extract key-value facts from structured document lines. Handles patterns common in resumes and profiles: - "Name: Jared Smith" - "Email: jared@exampl
crates/genie-core/src/profile/ingest.rs:136
↓ 2 callers
Function
extract_remember
(text: &str)
crates/genie-core/src/memory/extract.rs:538
↓ 2 callers
Method
family_calendar_event
( &self, person: Option<&str>, event_type: &str, day: Option<&str>, )
crates/genie-core/src/memory/mod.rs:1700
↓ 2 callers
Method
family_calendar_event_for_query
( &self, query: &str, )
crates/genie-core/src/memory/mod.rs:1687
↓ 2 callers
Function
filter_recall_results
( entries: Vec<MemoryEntry>, context: policy::MemoryReadContext, )
crates/genie-core/src/memory/recall.rs:282
↓ 2 callers
Function
finalize_direct_tool_turn
( conversations: &ConversationStore, conv_id: &str, call: &crate::tools::ToolCall, tool_result
crates/genie-core/src/server.rs:1439
↓ 2 callers
Function
finalize_tool_turn
( provider: &dyn Provider, conversations: &ConversationStore, conv_id: &str, llm_response: &st
crates/genie-core/src/server.rs:1481
↓ 2 callers
Function
find_manifest_sidecar
Find the first sidecar manifest that exists for a skill shared library.
crates/genie-core/src/skills/loader.rs:398
↓ 2 callers
Function
first_clause
Cut a captured value at the first clause boundary so trailing conjunctions and subordinate clauses are not swallowed into an identity/preference fact.
crates/genie-core/src/memory/extract.rs:270
↓ 2 callers
Function
flush_mic_buffer
Drain stale samples from the ALSA capture queue before a real recording. Without this, between-cycle residue (kernel DMA carry-over from the prior are
crates/genie-core/src/voice/stt.rs:547
↓ 2 callers
Method
friendly_name
Friendly name from attributes, or entity_id as fallback.
crates/genie-core/src/ha/client.rs:53
↓ 2 callers
Method
gate_tool_call
Public chokepoint entry for specialized fast-paths (e.g. the voice `web_search` renderer) that need the gate's ACL / confirmation / rate-limit decisio
crates/genie-core/src/tools/dispatch/mod.rs:680
↓ 2 callers
Function
generate_bfcl_llm_predictions
( cases_path: &Path, max_tokens: u32, limit: Option<usize>, json_mode: bool, )
crates/genie-ctl/src/main.rs:1670
↓ 2 callers
Function
geocode
Geocode a location name using Open-Meteo's geocoding API.
crates/genie-core/src/tools/weather.rs:90
↓ 2 callers
Function
get_current_time
()
crates/genie-core/src/tools/dispatch/get_time.rs:13
↓ 2 callers
Method
get_state
(&self, _target: &HomeTarget)
crates/genie-core/src/tools/home.rs:211
↓ 2 callers
Function
get_tegrastats
GET /api/tegrastats — recent history from governor's SQLite.
crates/genie-api/src/routes.rs:59
↓ 2 callers
Method
get_updates_raw
( &self, offset: Option<i64>, timeout_secs: u64, )
crates/genie-core/src/telegram.rs:239
↓ 2 callers
Function
guard_rejection
`403` response for a gated-out request, reusing the shared rejection reason.
crates/genie-api/src/http.rs:197
↓ 2 callers
Function
handle_actuation_actions
(tools: &ToolDispatcher)
crates/genie-core/src/server.rs:2037
↓ 2 callers
Function
handle_chat
( body: Option<&str>, llm: &LlmClient, tools: &ToolDispatcher, memory: &SharedMemory, conv
crates/genie-core/src/server.rs:1637
↓ 2 callers
Function
handle_health
GET /api/health — rich system status.
crates/genie-core/src/server.rs:1748
↓ 2 callers
Function
handle_quick_tool_for_voice
( tools: &ToolDispatcher, conversations: &ConversationStore, conv_id: &str, text: &str, re
crates/genie-core/src/voice_loop.rs:707
↓ 2 callers
Function
handle_runtime_contract
( tools: &ToolDispatcher, connectivity: &dyn ConnectivityController, memory: &SharedMemory, co
crates/genie-core/src/server.rs:1906
↓ 2 callers
Function
handle_web_search_status
GET /api/web-search
crates/genie-core/src/server.rs:2021
↓ 2 callers
Function
has_unsupported_delimited_slot
( template: &str, open: char, close: char, mut supported: F, )
crates/genie-ctl/src/bfcl_import.rs:533
↓ 2 callers
Function
hash_query
(query: &str)
crates/genie-core/src/memory/mod.rs:9237
↓ 2 callers
Function
hex_nibble
(n: u8)
crates/genie-core/src/tools/weather.rs:286
↓ 2 callers
Function
home_control_value_argument
(action: &str, value: f64)
crates/genie-core/src/tools/quick.rs:1947
↓ 2 callers
Method
homeassistant_service
Resolve the configured Home Assistant endpoint, if this deployment uses one.
crates/genie-common/src/config.rs:1619
↓ 2 callers
Function
host_port
(url: str)
tests/soak/soak_driver.py:89
↓ 2 callers
Method
household_event_log_for_query
(&self, query: &str)
crates/genie-core/src/memory/mod.rs:1996
↓ 2 callers
Method
household_inventory_item_for_query
( &self, query: &str, )
crates/genie-core/src/memory/mod.rs:1789
↓ 2 callers
Method
household_notes_like_fallback
( &self, query: &str, limit: usize, )
crates/genie-core/src/memory/mod.rs:1535
↓ 2 callers
Method
household_task_log_for_query
(&self, query: &str)
crates/genie-core/src/memory/mod.rs:1859
↓ 2 callers
Function
http_post_inner
( addr: &str, path: &str, body: &str, origin: Option<&str>, )
crates/genie-ctl/src/main.rs:2639
↓ 2 callers
Method
http_post_json
(&self, path: &str, body: &str)
crates/genie-core/src/ha/client.rs:167
↓ 2 callers
Method
http_request
( &self, method: &str, path: &str, content_type: Option<&str>, body: O
crates/genie-core/src/ha/client.rs:174
↓ 2 callers
Method
hydrate
(&self, actions: Vec<RecordedAction>)
crates/genie-core/src/tools/actuation.rs:312
↓ 2 callers
Function
infer_metadata_kind_only
(_kind: &str, kind_lower: &str)
crates/genie-core/src/memory/policy.rs:301
↓ 2 callers
Function
infer_metadata_lower
(kind: &str, kind_lower: &str, content_lower: &str)
crates/genie-core/src/memory/policy.rs:336
↓ 2 callers
Function
ingest_text_file
Ingest a text/markdown file into memory. Reads the file, splits into paragraphs, extracts facts from each. Returns the number of new facts stored.
crates/genie-core/src/profile/ingest.rs:17
↓ 2 callers
Method
inject_header
Get the HTTP header for a credential. Returns (header_name, header_value) ready for injection. This is the ONLY way secrets leave the store — as HTTP
crates/genie-core/src/security/credentials.rs:139
↓ 2 callers
Method
insert_token
Register a token minted in-process for a first-party adapter (e.g. the Telegram channel's loopback credential). Overrides any configured value; a blan
crates/genie-core/src/origin_auth.rs:67
↓ 2 callers
Method
into_inner
Get the inner value without checking (use sparingly).
crates/genie-core/src/security/taint.rs:98
↓ 2 callers
Function
inverse_action
(action: &str)
crates/genie-core/src/tools/actuation.rs:328
↓ 2 callers
Function
is_digits
(token: &str)
crates/genie-core/src/tools/calc_input.rs:106
↓ 2 callers
Function
is_json_container
(text: &str)
crates/genie-core/src/tools/parser.rs:298
↓ 2 callers
Function
is_profile_file
(path: &Path)
crates/genie-core/src/voice/identity.rs:292
↓ 2 callers
Function
is_sensitive
Check if an environment variable name should be blocked.
crates/genie-core/src/security/env_sanitize.rs:105
↓ 2 callers
Function
kitchen_light_home
()
crates/genie-core/src/ha/entity_fidelity.rs:68
↓ 2 callers
Function
lexical_pairs
(query, candidate) pairs exercising: empty sides, no/partial/full overlap, repeated words (distinct-set cardinality), case folding on both sides, coll
crates/genie-core/src/memory/mod.rs:9277
↓ 2 callers
Method
list_managed
(&self, limit: usize)
crates/genie-core/src/memory/mod.rs:1086
↓ 2 callers
Function
llm_unreachable_message
(backend_name: &str)
crates/genie-core/src/voice_loop.rs:1404
↓ 2 callers
Function
load_jsonl
(path: impl AsRef<Path>)
crates/genie-core/src/eval/bfcl.rs:324
↓ 2 callers
Function
load_library_from_memfd
(bytes: &[u8], label: &str)
crates/genie-core/src/skills/loader.rs:503
↓ 2 callers
Function
log_speaker_resolved
Emit a structured trace event when the voice pipeline resolves (or fails to resolve) a speaker identity. Called once per voice turn regardless of prov
crates/genie-core/src/security/audit.rs:32
↓ 2 callers
Function
looks_like_tool_json
(text: &str)
crates/genie-core/src/server.rs:1617
↓ 2 callers
Method
manages_service_alias
Whether the current deployment should manage a given service alias.
crates/genie-common/src/config.rs:1639
↓ 2 callers
Function
manifest_sidecar_candidates
Return supported sidecar manifest candidates for a skill shared library.
crates/genie-core/src/skills/loader.rs:389
↓ 2 callers
Method
mark_promoted_many
Mark several memories as promoted in one pass. Applies every `promoted = 1` update and records each promotion's canonical event, then rebuilds the ca
crates/genie-core/src/memory/mod.rs:1173
↓ 2 callers
Function
memory_slot
(kind: &str, content: &str)
crates/genie-core/src/memory/mod.rs:9130
↓ 2 callers
Function
needs_cautious_scan_ci
(text: &str)
crates/genie-core/src/memory/policy.rs:750
↓ 2 callers
Function
needs_identity_scan_ci
(text: &str)
crates/genie-core/src/memory/extract.rs:322
↓ 2 callers
Function
needs_policy_content_lower
True when policy classification needs the allocating lowercase content view.
crates/genie-core/src/memory/policy.rs:772
↓ 2 callers
Function
needs_preference_scan_ci
(text: &str)
crates/genie-core/src/memory/extract.rs:343
↓ 2 callers
Function
needs_private_intent_scan_ci
(text: &str)
crates/genie-core/src/memory/policy.rs:739
↓ 2 callers
Function
needs_restricted_secret_scan
(lower: &str)
crates/genie-core/src/memory/policy.rs:673
↓ 2 callers
Function
needs_restricted_secret_scan_ci
(text: &str)
crates/genie-core/src/memory/policy.rs:677
↓ 2 callers
Method
next_reply
(&self)
crates/genie-core/src/llm/mock.rs:95
↓ 2 callers
Function
normalize_cache_query
(query: &str)
crates/genie-core/src/tools/web_search.rs:316
↓ 2 callers
Function
normalize_household_role_query_token
(token: &str)
crates/genie-core/src/tools/dispatch/memory.rs:132
↓ 2 callers
Function
normalize_language_tag
(tag: &str)
crates/genie-core/src/voice/language.rs:3
↓ 2 callers
Function
normalize_ledger
(text: &str)
crates/genie-core/tests/memory_recall.rs:225
← previous
next →
501–600 of 3,215, ranked by callers