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
↓ 4 callers
Function
extract_directives
Extract inline directives from a message body. Directives like `/think high` or `/model gpt-4o` are extracted from anywhere in the message and the me
crates/frankclaw-runtime/src/commands.rs:207
↓ 4 callers
Function
extract_message
(mapping: &WebhookMapping, payload: &serde_json::Value)
crates/frankclaw-gateway/src/webhooks.rs:59
↓ 4 callers
Method
finish
(self)
crates/frankclaw-models/src/anthropic.rs:361
↓ 4 callers
Method
get_run
Get the current state of a run.
crates/frankclaw-runtime/src/subagent.rs:274
↓ 4 callers
Function
hash_password
Hash a password with Argon2id (t=3, m=64MB, p=4). Returns a PHC-format string suitable for database storage. Uses OS random for salt generation.
crates/frankclaw-crypto/src/hashing.rs:30
↓ 4 callers
Function
image_attachment
(index: usize)
crates/frankclaw-media/src/understanding.rs:751
↓ 4 callers
Function
is_safe_ip
SSRF protection: check if an IP address is safe to connect to. Blocks all private, reserved, loopback, link-local, and multicast ranges. This is crit
crates/frankclaw-core/src/media.rs:176
↓ 4 callers
Method
list_models
List models from all providers (skip those with open circuit breakers).
crates/frankclaw-models/src/failover.rs:176
↓ 4 callers
Function
load_workspace_skill
(workspace: &Path, name: &str)
crates/frankclaw-plugin-sdk/src/lib.rs:111
↓ 4 callers
Method
lookup
Look up a cached response for the given request. Returns `None` if the request has tool definitions (tool calls should never be replayed from cache),
crates/frankclaw-models/src/cache.rs:73
↓ 4 callers
Function
models_for_api
Return all known models for a given API type.
crates/frankclaw-models/src/catalog.rs:20
↓ 4 callers
Function
parse_brave_results
(body: &serde_json::Value)
crates/frankclaw-tools/src/web.rs:247
↓ 4 callers
Function
parse_page_ranges
Parse page range strings like "1-5", "1,3,7-9" into a sorted list of page numbers.
crates/frankclaw-tools/src/pdf.rs:160
↓ 4 callers
Function
parse_thread_target
(thread_id: Option<&str>, fallback_to: &str)
crates/frankclaw-channels/src/slack.rs:625
↓ 4 callers
Function
parse_usage
(data: &serde_json::Value)
crates/frankclaw-models/src/openai_compat.rs:303
↓ 4 callers
Method
process
(&self, attachment: &MediaAttachment)
crates/frankclaw-media/src/understanding.rs:232
↓ 4 callers
Function
render_markdown_to_ansi
Convenience: parse markdown and render directly to ANSI.
crates/frankclaw-runtime/src/markdown.rs:290
↓ 4 callers
Function
reply_metadata_json
( chunks: Vec<frankclaw_gateway::delivery::StoredReplyChunk>, )
crates/frankclaw-cli/src/main.rs:3330
↓ 4 callers
Method
resolve_inbound_account_scope
( &self, account_id: &str, sender_id: &str, thread_id: Option<&str>, i
crates/frankclaw-core/src/session.rs:29
↓ 4 callers
Function
restrict_file_permissions
(path: &std::path::Path)
crates/frankclaw-cli/src/main.rs:1699
↓ 4 callers
Function
run_security_audit
( config: &frankclaw_core::config::FrankClawConfig, config_path: &std::path::Path, state_dir: &std
crates/frankclaw-cli/src/main.rs:2475
↓ 4 callers
Function
sample_nodes
()
crates/frankclaw-tools/src/aria.rs:361
↓ 4 callers
Function
score_complexity_with_config
Score with custom configuration (weights + domain keywords).
crates/frankclaw-models/src/routing.rs:306
↓ 4 callers
Method
send
(&self, msg: OutboundMessage)
crates/frankclaw-channels/src/signal.rs:149
↓ 4 callers
Method
set
(&self, mut document: CanvasDocument)
crates/frankclaw-gateway/src/canvas.rs:143
↓ 4 callers
Function
setup_canvas
(state: &Arc<GatewayState>)
crates/frankclaw-gateway/src/methods.rs:952
↓ 4 callers
Method
store_chunk
(&self, chunk: &ChunkEntry, embedding: &[f32])
crates/frankclaw-memory/src/store.rs:109
↓ 4 callers
Function
text_or_attachment_placeholder
( text: Option<&str>, attachments: &[InboundAttachment], )
crates/frankclaw-channels/src/media_text.rs:3
↓ 4 callers
Function
tool_risk_level
Returns the risk level assigned to a tool by name.
crates/frankclaw-tools/src/lib.rs:358
↓ 4 callers
Function
truncate_output
Truncate output to MAX_OUTPUT_CHARS, keeping the tail.
crates/frankclaw-tools/src/bash.rs:355
↓ 4 callers
Method
with_payload
Set the payload.
crates/frankclaw-cron/src/triggers.rs:160
↓ 4 callers
Function
write_response
Write a JSON-RPC response as NDJSON to stdout.
crates/frankclaw-gateway/src/acp_transport.rs:101
↓ 3 callers
Method
append_transcript
(&self, _key: &SessionKey, _entry: &TranscriptEntry)
crates/frankclaw-tools/src/lib.rs:297
↓ 3 callers
Method
approve
( &self, channel: Option<&str>, account_id: Option<&str>, code: &str, )
crates/frankclaw-gateway/src/pairing.rs:110
↓ 3 callers
Function
attachment_kind
(mime_type: &str)
crates/frankclaw-channels/src/outbound_media.rs:14
↓ 3 callers
Function
audit_network
( config: &frankclaw_core::config::FrankClawConfig, findings: &mut Vec<Finding>, )
crates/frankclaw-cli/src/main.rs:2817
↓ 3 callers
Method
auth_header
(&self)
crates/frankclaw-channels/src/whatsapp.rs:69
↓ 3 callers
Function
authenticate
Authenticate an incoming connection. Returns the authenticated role on success. Records failures in the rate limiter to prevent brute force.
crates/frankclaw-gateway/src/auth.rs:32
↓ 3 callers
Function
bold_colored
Bold variant of colored.
crates/frankclaw-cli/src/terminal.rs:39
↓ 3 callers
Function
broadcast_canvas_update
( state: &Arc<GatewayState>, canvas_id: &str, canvas: Option<&crate::canvas::CanvasDocument>, )
crates/frankclaw-gateway/src/methods.rs:605
↓ 3 callers
Function
browser_runtime_status_with_policy
( config: &frankclaw_core::config::FrankClawConfig, browser_endpoint: Option<&str>, policy: frankc
crates/frankclaw-cli/src/main.rs:1385
↓ 3 callers
Function
build_complete_upload_request
( files: Vec<serde_json::Value>, channel_id: &str, thread_ts: Option<&str>, initial_comment: &
crates/frankclaw-channels/src/slack.rs:580
↓ 3 callers
Function
build_media_send_body
( msg: &OutboundMessage, attachment: &OutboundAttachment, uploaded_media_id: &str, )
crates/frankclaw-channels/src/whatsapp.rs:378
↓ 3 callers
Function
build_onboard_config
( channel: &str, gateway_token: &str, )
crates/frankclaw-cli/src/main.rs:1435
↓ 3 callers
Function
build_raw_email
(from: &str, subject: &str, body: &str)
crates/frankclaw-channels/src/email.rs:512
↓ 3 callers
Function
build_reply_headers
( builder: MessageBuilder, thread_id: Option<&str>, subject: &str, )
crates/frankclaw-channels/src/email.rs:292
↓ 3 callers
Function
build_send_request
(msg: &OutboundMessage, account: Option<&str>)
crates/frankclaw-channels/src/signal.rs:497
↓ 3 callers
Function
canvas_set
Handle `canvas.set` method.
crates/frankclaw-gateway/src/methods.rs:484
↓ 3 callers
Method
channel
(&self, id: &ChannelId)
crates/frankclaw-gateway/src/state.rs:145
↓ 3 callers
Function
chat_cancel
Handle `chat.cancel` method.
crates/frankclaw-gateway/src/methods.rs:355
↓ 3 callers
Function
check_badge
Doctor check badges with color.
crates/frankclaw-cli/src/terminal.rs:60
↓ 3 callers
Function
check_sqlite_health
(db_path: &std::path::Path)
crates/frankclaw-cli/src/main.rs:2366
↓ 3 callers
Method
clear_transcript
(&self, _key: &SessionKey)
crates/frankclaw-tools/src/lib.rs:299
↓ 3 callers
Function
collect_browser_tool_warnings_with_policy
( config: &frankclaw_core::config::FrankClawConfig, browser_endpoint: Option<&str>, tool_policy: f
crates/frankclaw-cli/src/main.rs:1315
↓ 3 callers
Function
collect_doctor_warnings
( config: &frankclaw_core::config::FrankClawConfig, state_dir: &std::path::Path, )
crates/frankclaw-cli/src/main.rs:1205
↓ 3 callers
Function
daemon_pid_status
(pid_path: &std::path::Path)
crates/frankclaw-cli/src/main.rs:1756
↓ 3 callers
Function
decrypt
Decrypt an `EncryptedBlob` with the same 256-bit key used to encrypt it. Returns the plaintext bytes. Zeroizes the intermediate buffer on error.
crates/frankclaw-crypto/src/encryption.rs:45
↓ 3 callers
Method
definition
(&self)
crates/frankclaw-tools/src/cron_tools.rs:27
↓ 3 callers
Method
definition
(&self)
crates/frankclaw-tools/src/lib.rs:1117
↓ 3 callers
Method
definitions
(&self, names: &[String])
crates/frankclaw-tools/src/lib.rs:206
↓ 3 callers
Method
delete_by_source
(&self, source: &str)
crates/frankclaw-memory/src/store.rs:290
↓ 3 callers
Method
devtools_host_header
Build a Host header value that Chromium DevTools will accept. DevTools rejects Host headers that aren't IP addresses or "localhost".
crates/frankclaw-tools/src/lib.rs:784
↓ 3 callers
Function
export_document
(document: &CanvasDocument, format: CanvasExportFormat)
crates/frankclaw-gateway/src/canvas.rs:301
↓ 3 callers
Method
fetch
Fetch a URL with SSRF protection. 1. Validate scheme and resolve DNS for each URL in the redirect chain. 2. Verify ALL resolved IPs are safe (public,
crates/frankclaw-media/src/fetch.rs:44
↓ 3 callers
Function
format_as_context
Format understanding outputs as context text for injection into model messages.
crates/frankclaw-media/src/understanding.rs:142
↓ 3 callers
Function
get_cron
(ctx: &ToolContext)
crates/frankclaw-tools/src/cron_tools.rs:13
↓ 3 callers
Method
health
(&self)
crates/frankclaw-models/src/failover.rs:189
↓ 3 callers
Method
id
(&self)
crates/frankclaw-channels/src/web.rs:40
↓ 3 callers
Method
id
(&self)
crates/frankclaw-channels/src/slack.rs:285
↓ 3 callers
Function
infer_inbound_mime_type
( explicit: Option<&str>, filename: Option<&str>, url: Option<&str>, )
crates/frankclaw-channels/src/inbound_media.rs:3
↓ 3 callers
Method
invoke
(&self, args: serde_json::Value, ctx: ToolContext)
crates/frankclaw-tools/src/file.rs:125
↓ 3 callers
Method
invoke_tool
(&self, request: ToolRequest)
crates/frankclaw-runtime/src/lib.rs:947
↓ 3 callers
Method
kill
Kill a run, marking it as killed and notifying the parent.
crates/frankclaw-runtime/src/subagent.rs:301
↓ 3 callers
Method
kind
Determine the media kind from MIME type, falling back to filename extension.
crates/frankclaw-media/src/understanding.rs:35
↓ 3 callers
Method
list
( &self, agent_id: &AgentId, limit: usize, offset: usize, )
crates/frankclaw-sessions/src/store.rs:290
↓ 3 callers
Function
merge_consecutive_same_role
Merge consecutive messages with the same role to satisfy providers that require strict alternation (Anthropic, Gemini).
crates/frankclaw-runtime/src/context.rs:179
↓ 3 callers
Function
msg
(role: Role, content: &str)
crates/frankclaw-runtime/src/context.rs:200
↓ 3 callers
Method
next_id
(&self)
crates/frankclaw-tools/src/mcp/mod.rs:166
↓ 3 callers
Function
normalize_signal_identity
(value: &str)
crates/frankclaw-channels/src/signal.rs:603
↓ 3 callers
Method
notify
(&self, canvas_id: &str, document: Option<&CanvasDocument>)
crates/frankclaw-gateway/src/canvas.rs:114
↓ 3 callers
Function
ollama_available
Checks whether a local Ollama instance is reachable on port 11434.
crates/frankclaw-models/tests/common/mod.rs:49
↓ 3 callers
Method
on_action
Register a handler for a specific event type + action pair. The handler will only fire when both the type and action match.
crates/frankclaw-core/src/hooks.rs:118
↓ 3 callers
Method
open
(&self, session_id: String, url: &str)
crates/frankclaw-tools/src/lib.rs:455
↓ 3 callers
Function
open_pairing_store
( state_dir: &std::path::Path, )
crates/frankclaw-cli/src/main.rs:4262
↓ 3 callers
Method
parse
(value: Option<&str>)
crates/frankclaw-gateway/src/canvas.rs:65
↓ 3 callers
Function
print_exposure_report
(report: &frankclaw_gateway::auth::ExposureReport)
crates/frankclaw-cli/src/main.rs:1629
↓ 3 callers
Function
read_pid_file
(pid_path: &std::path::Path)
crates/frankclaw-cli/src/main.rs:1712
↓ 3 callers
Function
read_token_cache
(path: &Path)
crates/frankclaw-models/src/copilot.rs:156
↓ 3 callers
Method
register
Register keys for a provider.
crates/frankclaw-core/src/api_keys.rs:194
↓ 3 callers
Function
repair_stuck_job
Attempt to repair a stuck job context. Returns the repair result and mutates the context if recovery succeeds.
crates/frankclaw-cron/src/job.rs:258
↓ 3 callers
Function
replace_mention_orc
Replace U+FFFC (Object Replacement Character) placeholders with `@name` strings. Signal encodes mentions as ORC characters with a parallel metadata ar
crates/frankclaw-channels/src/signal.rs:655
↓ 3 callers
Function
resolve_api_key
Resolve an API key from an environment variable reference.
crates/frankclaw-media/src/understanding.rs:739
↓ 3 callers
Function
resolve_env_value
(env_name: &str, channel: &str, label: &str)
crates/frankclaw-channels/src/lib.rs:469
↓ 3 callers
Function
resolve_request
( config: &FrankClawConfig, mapping_id: &str, payload: &serde_json::Value, )
crates/frankclaw-gateway/src/webhooks.rs:107
↓ 3 callers
Function
retry_delay_secs
(channel_id: &str, attempts: usize, retry_after_secs: Option<u64>)
crates/frankclaw-gateway/src/delivery.rs:596
↓ 3 callers
Method
rewrite_last_assistant_message
( &self, key: &SessionKey, content: &str, )
crates/frankclaw-sessions/src/store.rs:143
↓ 3 callers
Function
rewrite_last_reply_metadata_for_edit
( metadata: &mut serde_json::Value, new_text: &str, )
crates/frankclaw-cli/src/main.rs:1557
↓ 3 callers
Function
run_migrations
Run all schema migrations. Idempotent.
crates/frankclaw-sessions/src/migrations.rs:4
↓ 3 callers
Function
save_jobs
(path: Option<&Path>, jobs: &Arc<RwLock<HashMap<String, CronJob>>>)
crates/frankclaw-cron/src/service.rs:321
↓ 3 callers
Function
send_outbound_chunk
( channel: Arc<dyn ChannelPlugin>, outbound: OutboundMessage, chunk_index: usize, chunk_count:
crates/frankclaw-gateway/src/delivery.rs:149
← previous
next →
201–300 of 2,115, ranked by callers