MCPcopy Create free account

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

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

↓ 2 callersFunctionnormalize_origin
Normalize an `Origin` value for allowlist comparison: trimmed, lowercased, and with any trailing slash removed (browsers never send one, but operator
crates/genie-common/src/http.rs:545
↓ 2 callersFunctionnormalize_score_arguments
(arguments: &Value)
crates/genie-core/src/eval/bfcl.rs:423
↓ 2 callersFunctionnormalize_single_key_arguments
Map the nested value of a compact single-key tool call (`{tool: <value>}`) to a tool arguments object. Small models emit two shapes: a nested **objec
crates/genie-core/src/tools/parser.rs:197
↓ 2 callersFunctionnow_ms
()
crates/genie-core/src/tools/timer.rs:92
↓ 2 callersFunctionopen_mic
(pa, device_index)
deploy/scripts/genie-wake-listen.py:40
↓ 2 callersFunctionopen_test_db
(dir: &std::path::Path)
crates/genie-health/src/checker.rs:404
↓ 2 callersFunctionopenai_chat_response
(model: &str, content: &str)
crates/genie-core/src/server.rs:2549
↓ 2 callersFunctionorigin_tool_list
( rules: &'a HashMap<String, Vec<String>>, origin_key: &str, )
crates/genie-core/src/tools/dispatch/mod.rs:962
↓ 2 callersMethodparse_and_execute_tool
(&self, json_str: &str)
crates/genie-core/src/voice/pipeline.rs:204
↓ 2 callersFunctionparse_bfcl_predict_llm_args
(args: &[String])
crates/genie-ctl/src/main.rs:1333
↓ 2 callersFunctionparse_bfcl_predict_quick_args
(args: &[String])
crates/genie-ctl/src/main.rs:1277
↓ 2 callersFunctionparse_bfcl_score_llm_args
(args: &[String])
crates/genie-ctl/src/main.rs:1169
↓ 2 callersFunctionparse_decimal_token
(token: &str)
crates/genie-core/src/tools/quick.rs:2826
↓ 2 callersFunctionparse_duckduckgo_items
(body: &str)
crates/genie-core/src/tools/web_search.rs:423
↓ 2 callersFunctionparse_duration
(tokens: &[&str])
crates/genie-core/src/tools/quick.rs:2950
↓ 2 callersFunctionparse_expr
Recursive descent: expr → term ((+|-) term)
crates/genie-core/src/tools/calc.rs:99
↓ 2 callersFunctionparse_get_weather_forecast
`forecast` stays optional — an absent or null value means current weather (the no-op default). But a *provided* value must be a real boolean. The old
crates/genie-core/src/tools/dispatch/weather.rs:39
↓ 2 callersFunctionparse_ha_intents_import_args
(args: &[String])
crates/genie-ctl/src/bfcl_import.rs:60
↓ 2 callersFunctionparse_memory_query_arg
(args: &serde_json::Value)
crates/genie-core/src/tools/dispatch/memory.rs:53
↓ 2 callersFunctionparse_min_strict
Parse a `--min-strict` percentage threshold (0-100 inclusive).
crates/genie-ctl/src/main.rs:1159
↓ 2 callersFunctionparse_positive_usize
(name: &str, value: &str)
crates/genie-ctl/src/bfcl_import.rs:929
↓ 2 callersFunctionparse_search_limit
(value: &str)
crates/genie-ctl/src/main.rs:1432
↓ 2 callersFunctionparse_searxng_items
(body: &str)
crates/genie-core/src/tools/web_search.rs:446
↓ 2 callersFunctionparse_semver
Parse a version string into a [`SemVer`]. Tolerant of a leading `v`. Build metadata (`+...`) is ignored for precedence, per SemVer §10. Missing core
crates/genie-core/src/ota/mod.rs:206
↓ 2 callersFunctionparse_set_timer_label
`label` stays optional — absent or null defaults to `"timer"`. But a *provided value must be a real string; the old `and_then(|v| v.as_str()).unwrap_o
crates/genie-core/src/tools/dispatch/set_timer.rs:48
↓ 2 callersFunctionparse_status_line
(line: &str)
crates/genie-core/src/llm/openai_compat.rs:1029
↓ 2 callersFunctionparse_temp
(line: &str, prefix: &str)
crates/genie-common/src/tegrastats.rs:134
↓ 2 callersFunctionparse_tool_call_value_for_eval
(value: serde_json::Value)
crates/genie-core/src/tools/parser.rs:129
↓ 2 callersFunctionparse_web_search_fresh
`fresh` / `cache_bypass` stay optional — absent or null defaults to false. A provided value must be a real boolean (same boundary as `get_weather` for
crates/genie-core/src/tools/dispatch/web_search.rs:56
↓ 2 callersFunctionparse_web_search_limit
`limit` stays optional — an absent or null value defaults to 3 results. But a provided* value must be a non-negative integer. The old `args.get("limit
crates/genie-core/src/tools/dispatch/web_search.rs:42
↓ 2 callersMethodpending_confirmations
(&self)
crates/genie-core/src/tools/dispatch/mod.rs:462
↓ 2 callersFunctionpercentile
Linear-interpolated percentile (pct in 0..100). None for empty input.
tests/soak/analyze_soak.py:43
↓ 2 callersFunctionpermission_statement
( content: &str, lower: &str, marker: &str, fallback_person: Option<&str>, )
crates/genie-core/src/memory/mod.rs:7961
↓ 2 callersMethodplay_pcm_data
Play pre-synthesized PCM through the speaker (no post-silence). Callers must invoke `post_silence()` once after the final sentence. Stamps the first-
crates/genie-core/src/voice/tts.rs:313
↓ 2 callersFunctionpollActuation
()
crates/dashboard/dashboard.js:261
↓ 2 callersFunctionpopulate_stale
(n: usize)
crates/genie-core/src/memory/mod.rs:15197
↓ 2 callersFunctionprint_bfcl_report_metrics
(report: &genie_core::eval::bfcl::BfclReport)
crates/genie-ctl/src/main.rs:1569
↓ 2 callersFunctionprobe_configured_url
Probe a configured URL string (bare authority defaults to `http://`).
crates/genie-common/src/probe.rs:58
↓ 2 callersFunctionprobe_json_value
(target: &ServiceProbeTarget, path: &str)
crates/genie-ctl/src/main.rs:2432
↓ 2 callersFunctionprobe_service_target
Probe a parsed service URL. `https://` targets use the bundled Mozilla CA roots from `webpki-roots`. Self-signed LAN certificates (e.g. local Home As
crates/genie-common/src/probe.rs:40
↓ 2 callersFunctionprocess_aec
Apply AEC to a WAV file in-place. Reads the WAV, applies echo cancellation, writes back. Called from noise processing pipeline after recording.
crates/genie-core/src/voice/aec.rs:171
↓ 2 callersFunctionprocess_tts_audio
Apply AGC + EQ to raw PCM data (S16_LE mono). Modifies the PCM buffer in-place for zero-allocation processing.
crates/genie-core/src/voice/dsp.rs:24
↓ 2 callersMethodprofile_attributes
( &self, name: &str, attribute: &str, )
crates/genie-core/src/memory/mod.rs:1439
↓ 2 callersFunctionprofile_path
(profile_dir: &Path, name: &str)
crates/genie-core/src/voice/identity.rs:299
↓ 2 callersFunctionprovider_from_config
Build the optional Home Assistant provider from config and environment.
crates/genie-core/src/ha/mod.rs:22
↓ 2 callersFunctionprovider_name
(provider: WebSearchProvider)
crates/genie-core/src/tools/web_search.rs:540
↓ 2 callersMethodprune
Remove rows older than 24 hours.
crates/genie-governor/src/store.rs:83
↓ 2 callersMethodprune_old_turns
Remove old conversation messages and trim long conversations. Two passes are run: 1. Messages older than `retention_days` are deleted across all conv
crates/genie-core/src/conversation.rs:316
↓ 2 callersFunctionquery_governor
Query the governor via its Unix control socket.
crates/genie-api/src/routes.rs:584
↓ 2 callersMethodquery_hashes
(&self, id: i64)
crates/genie-core/src/memory/mod.rs:1018
↓ 2 callersFunctionquery_tokens
Split a free-text query into lowercase alphanumeric tokens.
crates/genie-core/src/ha/entity_fidelity.rs:17
↓ 2 callersFunctionread_control_line
(reader: &mut R)
crates/genie-governor/src/control.rs:87
↓ 2 callersFunctionread_http_body
(reader: tokio::net::tcp::OwnedReadHalf)
crates/genie-ctl/src/main.rs:2669
↓ 2 callersFunctionread_http_response
( stream: &mut (impl AsyncReadExt + Unpin), read_timeout: Duration, max_response_bytes: usize, )
crates/genie-common/src/probe.rs:222
↓ 2 callersFunctionread_line_bounded
Read one `\n`-terminated line into `out`, appending at most `max_bytes`. Returns the number of bytes appended for this line (0 on immediate EOF). If
crates/genie-common/src/http.rs:295
↓ 2 callersFunctionread_profile
(path: &Path)
crates/genie-core/src/voice/identity.rs:286
↓ 2 callersFunctionread_wav_mono_f32
(path: &Path)
crates/genie-core/src/voice/identity.rs:333
↓ 2 callersFunctionrebuild_fts_index
(conn: &Connection)
crates/genie-core/src/memory/mod.rs:9194
↓ 2 callersMethodrecent
Get recent memories for context injection.
crates/genie-core/src/memory/mod.rs:1069
↓ 2 callersFunctionrecord_audio
Record audio with fixed duration. Returns the path to the recorded WAV file.
crates/genie-core/src/voice/stt.rs:612
↓ 2 callersFunctionrecord_http_url_drift
( drifts: &mut Vec<ServiceUrlDrift>, service: &'static str, configured_url: &str, listen_addr:
crates/genie-common/src/config.rs:1342
↓ 2 callersMethodrecord_internal
( &self, entity: &str, action: &str, value: Option<f64>, origin: Reque
crates/genie-core/src/tools/actuation.rs:236
↓ 2 callersFunctionrecord_speaker_wav
(output: &Path, opts: &SpeakerCliOptions)
crates/genie-ctl/src/main.rs:586
↓ 2 callersMethodrecord_undo
( &self, original_id: u64, entity: &str, action: &str, value: Option<f
crates/genie-core/src/tools/actuation.rs:213
↓ 2 callersFunctionrelative_due_from_text
(lower: &str)
crates/genie-core/src/memory/mod.rs:7415
↓ 2 callersFunctionrelease_tests_enabled
The two release-build tests below each run a size-optimized LTO `cargo build --release` (slow, ~1-2 min). They are skipped locally so `cargo test` sta
crates/genie-core/tests/tool_dispatch_test.rs:12
↓ 2 callersFunctionremove_skill_and_sidecars
(skill_path: &Path)
crates/genie-ctl/src/main.rs:831
↓ 2 callersFunctionremove_speaker_profile
( profile_dir: impl AsRef<Path>, name: &str, )
crates/genie-core/src/voice/identity.rs:233
↓ 2 callersFunctionrenderMemories
()
crates/dashboard/dashboard.js:341
↓ 2 callersFunctionrender_sentence_template
(template: &str, domain: Option<&str>)
crates/genie-ctl/src/bfcl_import.rs:398
↓ 2 callersMethodrender_voice
(&self)
crates/genie-core/src/tools/web_search.rs:68
↓ 2 callersMethodreorder_managed
(&self, ids: &[i64])
crates/genie-core/src/memory/mod.rs:2388
↓ 2 callersFunctionreplace_delimited
(template: &str, open: char, close: char, mut replacement: F)
crates/genie-ctl/src/bfcl_import.rs:557
↓ 2 callersFunctionresolve_chat_conv_id
( registry: &Mutex<SessionRegistry>, parsed: &serde_json::Value, turn: &IncomingTurn, )
crates/genie-core/src/server.rs:1182
↓ 2 callersMethodresolve_device_alias
(&self, query: &str)
crates/genie-core/src/tools/dispatch/home.rs:414
↓ 2 callersMethodresolve_media_query
(&self, query: &str)
crates/genie-core/src/tools/dispatch/play_media.rs:145
↓ 2 callersMethodresolve_target
( &self, query: &str, _action_hint: Option<HomeActionKind>, )
crates/genie-core/src/tools/home.rs:194
↓ 2 callersMethodresolved_tokens
Resolve the effective `origin -> secret` map: the configured value first, then the `GENIE_ORIGIN_TOKEN_<ORIGIN>` environment variable. Blank/whitespac
crates/genie-common/src/config.rs:764
↓ 2 callersFunctionrestore_for_entity
(action: &str, entity: &crate::ha::Entity)
crates/genie-core/src/tools/actuation.rs:352
↓ 2 callersFunctionrestricted_secret_reason
(lower: &str)
crates/genie-core/src/memory/policy.rs:791
↓ 2 callersMethodrollback_transition
Best-effort undo of partial transition work before returning the original error.
crates/genie-governor/src/governor.rs:314
↓ 2 callersFunctionrun
Interactive REPL for genie-core. Reads from stdin, sends to LLM, prints response. Runs alongside the HTTP server — useful for development and SSH ses
crates/genie-core/src/repl.rs:15
↓ 2 callersFunctionrun
(label: &str, input: &str, iters: u32)
crates/genie-core/tests/voice_format_bench.rs:25
↓ 2 callersMethodrun
(&mut self)
crates/genie-health/src/checker.rs:90
↓ 2 callersMethodrun
Run the C ABI skill call on a blocking thread, bounded by `timeout`. The blocking offload keeps the single-threaded tokio runtime free to poll `/api/
crates/genie-core/src/skills/loader.rs:268
↓ 2 callersFunctionrun_accent_scan
(input: &str, iters: u32)
crates/genie-core/tests/language_detect_bench.rs:79
↓ 2 callersFunctionrun_detect
(label: &str, input: &str, iters: u32)
crates/genie-core/tests/language_detect_bench.rs:58
↓ 2 callersMethodrun_gate
Run the tool-call gate without dispatching: per-origin ACLs, two-step confirmation for sensitive tools, then per-tool rate limits. Returns `Some(rejec
crates/genie-core/src/tools/dispatch/mod.rs:576
↓ 2 callersFunctionsample_event
(ts_ms: u64)
crates/genie-core/src/tools/actuation.rs:917
↓ 2 callersFunctionsample_name_for_domain
(domain: Option<&str>)
crates/genie-ctl/src/bfcl_import.rs:475
↓ 2 callersFunctionsample_skill_loader
()
crates/genie-core/src/tools/dispatch/mod.rs:1083
↓ 2 callersFunctionsample_tool
(name: &str)
crates/genie-core/src/agent_harness.rs:160
↓ 2 callersFunctionscalar_primary_arg
The argument a scalar single-key tool call should populate, for tools whose schema has a single required scalar input (see `normalize_single_key_argum
crates/genie-core/src/tools/parser.rs:223
↓ 2 callersFunctionscan_key
(result: &InjectionCheck)
crates/genie-core/tests/injection_test.rs:3
↓ 2 callersFunctionscore_parsed_calls
( case: &BfclCase, actual_tool_calls: Vec<ToolCall>, missing_prediction: bool, )
crates/genie-core/src/eval/bfcl.rs:201
↓ 2 callersMethodsearch_like_fallback
( &self, query: &str, limit: usize, now: u64, query_hash: &str, )
crates/genie-core/src/memory/mod.rs:900
↓ 2 callersFunctionsearch_response_with_options
( query: &str, requested_limit: usize, config: &WebSearchConfig, fresh: bool, )
crates/genie-core/src/tools/web_search.rs:140
↓ 2 callersFunctionsearch_with_options
( query: &str, requested_limit: usize, config: &WebSearchConfig, fresh: bool, )
crates/genie-core/src/tools/web_search.rs:127
↓ 2 callersFunctionsearxng_base_url
(config: &WebSearchConfig)
crates/genie-core/src/tools/web_search.rs:289
↓ 2 callersFunctionsecret_reference_query
(query: &str)
crates/genie-core/src/memory/mod.rs:8454
← previousnext →601–700 of 3,215, ranked by callers