Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akitaonrails/FrankClaw
/ functions
Functions
2,115 in github.com/akitaonrails/FrankClaw
⨍
Functions
2,115
◇
Types & classes
423
↓ 3 callers
Function
sessions_delete
Handle `sessions.delete` method.
crates/frankclaw-gateway/src/methods.rs:795
↓ 3 callers
Function
sessions_patch
Handle `sessions.patch` method — update session metadata fields.
crates/frankclaw-gateway/src/methods.rs:835
↓ 3 callers
Function
severity_badge
Severity badge with color.
crates/frankclaw-cli/src/terminal.rs:47
↓ 3 callers
Function
sleep_retry
(delay_secs: u64)
crates/frankclaw-gateway/src/delivery.rs:654
↓ 3 callers
Function
split_outbound_message
(outbound: &OutboundMessage)
crates/frankclaw-gateway/src/delivery.rs:390
↓ 3 callers
Function
store_github_token
Store a GitHub access token securely.
crates/frankclaw-models/src/copilot.rs:304
↓ 3 callers
Method
style
(&self)
crates/frankclaw-cli/src/tui.rs:43
↓ 3 callers
Method
success
(id: Option<serde_json::Value>, result: serde_json::Value)
crates/frankclaw-gateway/src/acp_transport.rs:52
↓ 3 callers
Function
test_request
(method: Method, params: serde_json::Value)
crates/frankclaw-gateway/src/ws.rs:399
↓ 3 callers
Function
to_cents
Convert a USD amount to whole cents (truncated).
crates/frankclaw-models/src/cost_guard.rs:235
↓ 3 callers
Function
verify_timestamp
Verify that the webhook timestamp is within the allowed window. Returns an error if the timestamp is missing, unparseable, or too old.
crates/frankclaw-gateway/src/webhooks.rs:144
↓ 3 callers
Method
web_channel
(&self)
crates/frankclaw-gateway/src/state.rs:149
↓ 3 callers
Method
with_scanner
Attach a file scanning service (e.g., VirusTotal). When set, all files are scanned before storage, and malicious files are rejected with `MalwareDetec
crates/frankclaw-media/src/store.rs:62
↓ 2 callers
Function
accumulate_usage
Accumulate token usage from a model response into a running total.
crates/frankclaw-runtime/src/lib.rs:1621
↓ 2 callers
Method
acquire_concurrency
Acquire a concurrency permit for the given mapping. Returns None if max_concurrent is 0 (unlimited).
crates/frankclaw-gateway/src/webhook_limiter.rs:28
↓ 2 callers
Method
add_job
( &self, id: &str, schedule: &str, agent_id: &str, session_key: &str,
crates/frankclaw-cron/src/service.rs:279
↓ 2 callers
Function
allocate_color
Allocate a color for a new profile, cycling through the palette.
crates/frankclaw-tools/src/browser_profiles.rs:97
↓ 2 callers
Function
approval_key
(channel: &str, account_id: &str)
crates/frankclaw-gateway/src/pairing.rs:142
↓ 2 callers
Function
audit_channel_policies
( config: &frankclaw_core::config::FrankClawConfig, findings: &mut Vec<Finding>, )
crates/frankclaw-cli/src/main.rs:2850
↓ 2 callers
Function
audit_dotenv_plaintext
Scan .env files in the working directory for plaintext secrets.
crates/frankclaw-cli/src/main.rs:3188
↓ 2 callers
Function
audit_encryption
( config: &frankclaw_core::config::FrankClawConfig, findings: &mut Vec<Finding>, )
crates/frankclaw-cli/src/main.rs:2781
↓ 2 callers
Function
audit_inline_secrets
( config: &frankclaw_core::config::FrankClawConfig, findings: &mut Vec<Finding>, )
crates/frankclaw-cli/src/main.rs:2669
↓ 2 callers
Function
audit_legacy_credentials
Check for legacy credential files in state directory.
crates/frankclaw-cli/src/main.rs:3242
↓ 2 callers
Function
audit_secret_refs
Check for shadowed secret refs: a provider has both inline value and env ref.
crates/frankclaw-cli/src/main.rs:3138
↓ 2 callers
Function
authenticate_bearer
Authenticate using Bearer token from the Authorization header. Falls back to the gateway's configured auth mode.
crates/frankclaw-gateway/src/openai_api.rs:24
↓ 2 callers
Function
build_delete_body
(target: &DeleteMessageTarget)
crates/frankclaw-channels/src/slack.rs:610
↓ 2 callers
Function
build_delete_body
(target: &DeleteMessageTarget)
crates/frankclaw-channels/src/telegram.rs:736
↓ 2 callers
Function
build_domain_regex
(keywords: &[&str])
crates/frankclaw-models/src/routing.rs:289
↓ 2 callers
Function
build_edit_body
(target: &EditMessageTarget, new_text: &str)
crates/frankclaw-channels/src/slack.rs:600
↓ 2 callers
Function
build_edit_body
(target: &EditMessageTarget, new_text: &str)
crates/frankclaw-channels/src/telegram.rs:717
↓ 2 callers
Function
build_edit_request
(target: &EditMessageTarget, new_text: &str)
crates/frankclaw-channels/src/discord.rs:583
↓ 2 callers
Function
build_inbound_attachments
( attachments: Option<&[SignalAttachmentPayload]>, )
crates/frankclaw-channels/src/signal.rs:441
↓ 2 callers
Function
build_providers
( config: &FrankClawConfig, state_dir: &Path, )
crates/frankclaw-runtime/src/lib.rs:1894
↓ 2 callers
Function
build_subagent_context
Build the system prompt prefix for a subagent, providing context about its role and constraints.
crates/frankclaw-runtime/src/subagent.rs:343
↓ 2 callers
Method
build_system_prompt
( &self, agent_id: &AgentId, agent: &AgentDef, model_id: &str, tools:
crates/frankclaw-runtime/src/lib.rs:1309
↓ 2 callers
Function
build_test_state
( temp_dir: &PathBuf, )
crates/frankclaw-gateway/src/ws.rs:362
↓ 2 callers
Function
build_test_state_with_providers
( temp_dir: &Path, providers: Vec<Arc<dyn ModelProvider>>, )
crates/frankclaw-gateway/src/methods.rs:1077
↓ 2 callers
Function
build_upload_ticket_request
(filename: &str, length: usize)
crates/frankclaw-channels/src/slack.rs:573
↓ 2 callers
Function
bytes_to_f32
(data: &[u8])
crates/frankclaw-memory/src/embedding.rs:534
↓ 2 callers
Method
can_fire
Check if the routine can fire given its guardrails and current state.
crates/frankclaw-cron/src/triggers.rs:183
↓ 2 callers
Function
canvas_clear
Handle `canvas.clear` method.
crates/frankclaw-gateway/src/methods.rs:595
↓ 2 callers
Function
canvas_export
Handle `canvas.export` method.
crates/frankclaw-gateway/src/methods.rs:454
↓ 2 callers
Function
canvas_get
Handle `canvas.get` method.
crates/frankclaw-gateway/src/methods.rs:442
↓ 2 callers
Function
canvas_patch
Handle `canvas.patch` method.
crates/frankclaw-gateway/src/methods.rs:539
↓ 2 callers
Method
capabilities
(&self)
crates/frankclaw-gateway/src/server.rs:2064
↓ 2 callers
Function
chat_send
Handle `chat.send` method.
crates/frankclaw-gateway/src/methods.rs:133
↓ 2 callers
Function
check_port_available
(port: u16)
crates/frankclaw-cli/src/main.rs:2376
↓ 2 callers
Function
clamp_id
Truncate a string to the maximum identifier length.
crates/frankclaw-core/src/types.rs:8
↓ 2 callers
Method
cleanup_old_runs
Clean up completed/failed/killed runs older than the given duration.
crates/frankclaw-runtime/src/subagent.rs:312
↓ 2 callers
Method
clear
Clear all cached entries.
crates/frankclaw-models/src/cache.rs:164
↓ 2 callers
Function
collect_browser_tool_warnings
( config: &frankclaw_core::config::FrankClawConfig, browser_endpoint: Option<&str>, )
crates/frankclaw-cli/src/main.rs:1304
↓ 2 callers
Function
config_file_stamp
(path: &FsPath)
crates/frankclaw-gateway/src/server.rs:1429
↓ 2 callers
Function
config_restart_fingerprint
(config: &FrankClawConfig)
crates/frankclaw-gateway/src/server.rs:1442
↓ 2 callers
Method
create_target
(&self, url: &str)
crates/frankclaw-tools/src/lib.rs:789
↓ 2 callers
Function
decode_nibble
(value: u8)
crates/frankclaw-channels/src/whatsapp.rs:479
↓ 2 callers
Function
decode_nibble
(value: u8)
crates/frankclaw-gateway/src/webhooks.rs:193
↓ 2 callers
Function
default_cost
Default cost for unknown models (roughly GPT-4o pricing).
crates/frankclaw-models/src/costs.rs:73
↓ 2 callers
Method
definition
(&self)
crates/frankclaw-tools/src/messaging.rs:17
↓ 2 callers
Method
definition
(&self)
crates/frankclaw-tools/src/sessions.rs:22
↓ 2 callers
Method
definition
(&self)
crates/frankclaw-tools/src/memory.rs:26
↓ 2 callers
Method
delete
(&self, _key: &SessionKey)
crates/frankclaw-tools/src/lib.rs:295
↓ 2 callers
Function
delete_targets_from_last_reply
( last_reply: &frankclaw_gateway::delivery::StoredReplyMetadata, )
crates/frankclaw-cli/src/main.rs:1578
↓ 2 callers
Method
disable
Disable a plugin. Returns true if the plugin was found.
crates/frankclaw-plugin-sdk/src/lifecycle.rs:85
↓ 2 callers
Method
drain
(&self)
crates/frankclaw-gateway/src/delivery.rs:734
↓ 2 callers
Method
edit_message
(&self, target: &EditMessageTarget, new_text: &str)
crates/frankclaw-channels/src/slack.rs:386
↓ 2 callers
Method
edit_message
(&self, _target: &EditMessageTarget, new_text: &str)
crates/frankclaw-gateway/src/delivery.rs:896
↓ 2 callers
Function
encode_signature
(secret: &str, body: &[u8])
crates/frankclaw-gateway/src/webhooks.rs:164
↓ 2 callers
Method
encrypt_content
Encrypt content if encryption is enabled, otherwise return raw bytes.
crates/frankclaw-sessions/src/store.rs:93
↓ 2 callers
Method
ensure_initialized
Initialize the MCP connection if not already done.
crates/frankclaw-tools/src/mcp/mod.rs:295
↓ 2 callers
Method
ensure_pending
( &self, channel: &str, account_id: &str, sender_id: &str, )
crates/frankclaw-gateway/src/pairing.rs:68
↓ 2 callers
Method
ensure_provider
(&self)
crates/frankclaw-models/src/copilot.rs:389
↓ 2 callers
Method
evaluate_value
( &self, socket: &mut tokio_tungstenite::WebSocketStream<tokio_tungstenite::MaybeTlsStream<tok
crates/frankclaw-tools/src/lib.rs:936
↓ 2 callers
Function
execute_request
( state: &Arc<GatewayState>, request: ResolvedWebhookRequest, )
crates/frankclaw-gateway/src/webhooks.rs:117
↓ 2 callers
Method
extract
(&self, session_id: &str)
crates/frankclaw-tools/src/lib.rs:532
↓ 2 callers
Function
extract_by_path
Traverse nested JSON using dot-notation path (e.g., "data.message.text").
crates/frankclaw-gateway/src/webhooks.rs:88
↓ 2 callers
Function
extract_html
(html: &str, _mode: &str)
crates/frankclaw-tools/src/web.rs:127
↓ 2 callers
Function
f32_to_bytes
(data: &[f32])
crates/frankclaw-memory/src/embedding.rs:530
↓ 2 callers
Function
file_source
(base: &Path, path: &Path)
crates/frankclaw-memory/src/sync.rs:178
↓ 2 callers
Method
finish
Finalize the accumulated stream into a `CompletionResponse`.
crates/frankclaw-models/src/openai_compat.rs:196
↓ 2 callers
Method
flush_event
(&mut self)
crates/frankclaw-models/src/sse.rs:74
↓ 2 callers
Method
get_cached
(&self, hash: &str)
crates/frankclaw-memory/src/embedding.rs:241
↓ 2 callers
Function
group_surface_needs_guard
(channel_id: &str)
crates/frankclaw-cli/src/main.rs:1300
↓ 2 callers
Method
handles
(&self)
crates/frankclaw-media/src/understanding.rs:228
↓ 2 callers
Method
health
(&self)
crates/frankclaw-gateway/src/ws.rs:357
↓ 2 callers
Function
help_text
Generate help text for all registered commands.
crates/frankclaw-runtime/src/commands.rs:295
↓ 2 callers
Function
hydrate_outbound_attachments
( mut outbound: OutboundMessage, media: Option<&MediaStore>, )
crates/frankclaw-gateway/src/delivery.rs:117
↓ 2 callers
Method
id
(&self)
crates/frankclaw-models/src/openai.rs:50
↓ 2 callers
Method
id
(&self)
crates/frankclaw-channels/src/whatsapp.rs:126
↓ 2 callers
Method
id
(&self)
crates/frankclaw-channels/src/discord.rs:221
↓ 2 callers
Method
id
(&self)
crates/frankclaw-channels/src/telegram.rs:349
↓ 2 callers
Method
invoke
(&self, args: serde_json::Value, _ctx: ToolContext)
crates/frankclaw-tools/src/bash.rs:228
↓ 2 callers
Method
is_available
(&self, now: Instant)
crates/frankclaw-core/src/api_keys.rs:53
↓ 2 callers
Function
is_color_enabled
Returns true if color output should be used.
crates/frankclaw-cli/src/terminal.rs:18
↓ 2 callers
Function
is_content
(role: &str)
crates/frankclaw-tools/src/aria.rs:120
↓ 2 callers
Function
is_interactive
(role: &str)
crates/frankclaw-tools/src/aria.rs:116
↓ 2 callers
Function
is_metadata_path
(path: &std::path::Path)
crates/frankclaw-media/src/store.rs:287
↓ 2 callers
Function
is_retryable_error
Whether an error message suggests a transient (retryable) failure. Returns `true` for network errors, rate limits, and server errors. Returns `false`
crates/frankclaw-models/src/retry.rs:52
↓ 2 callers
Method
list_children
List all runs for a given parent session.
crates/frankclaw-runtime/src/subagent.rs:279
↓ 2 callers
Method
list_models
(&self)
crates/frankclaw-runtime/src/lib.rs:251
↓ 2 callers
Method
list_models
(&self)
crates/frankclaw-gateway/src/ws.rs:343
← previous
next →
301–400 of 2,115, ranked by callers