MCPcopy Create free account

hub / github.com/akitaonrails/FrankClaw / functions

Functions2,115 in github.com/akitaonrails/FrankClaw

↓ 3 callersFunctionsessions_delete
Handle `sessions.delete` method.
crates/frankclaw-gateway/src/methods.rs:795
↓ 3 callersFunctionsessions_patch
Handle `sessions.patch` method — update session metadata fields.
crates/frankclaw-gateway/src/methods.rs:835
↓ 3 callersFunctionseverity_badge
Severity badge with color.
crates/frankclaw-cli/src/terminal.rs:47
↓ 3 callersFunctionsleep_retry
(delay_secs: u64)
crates/frankclaw-gateway/src/delivery.rs:654
↓ 3 callersFunctionsplit_outbound_message
(outbound: &OutboundMessage)
crates/frankclaw-gateway/src/delivery.rs:390
↓ 3 callersFunctionstore_github_token
Store a GitHub access token securely.
crates/frankclaw-models/src/copilot.rs:304
↓ 3 callersMethodstyle
(&self)
crates/frankclaw-cli/src/tui.rs:43
↓ 3 callersMethodsuccess
(id: Option<serde_json::Value>, result: serde_json::Value)
crates/frankclaw-gateway/src/acp_transport.rs:52
↓ 3 callersFunctiontest_request
(method: Method, params: serde_json::Value)
crates/frankclaw-gateway/src/ws.rs:399
↓ 3 callersFunctionto_cents
Convert a USD amount to whole cents (truncated).
crates/frankclaw-models/src/cost_guard.rs:235
↓ 3 callersFunctionverify_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 callersMethodweb_channel
(&self)
crates/frankclaw-gateway/src/state.rs:149
↓ 3 callersMethodwith_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 callersFunctionaccumulate_usage
Accumulate token usage from a model response into a running total.
crates/frankclaw-runtime/src/lib.rs:1621
↓ 2 callersMethodacquire_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 callersMethodadd_job
( &self, id: &str, schedule: &str, agent_id: &str, session_key: &str,
crates/frankclaw-cron/src/service.rs:279
↓ 2 callersFunctionallocate_color
Allocate a color for a new profile, cycling through the palette.
crates/frankclaw-tools/src/browser_profiles.rs:97
↓ 2 callersFunctionapproval_key
(channel: &str, account_id: &str)
crates/frankclaw-gateway/src/pairing.rs:142
↓ 2 callersFunctionaudit_channel_policies
( config: &frankclaw_core::config::FrankClawConfig, findings: &mut Vec<Finding>, )
crates/frankclaw-cli/src/main.rs:2850
↓ 2 callersFunctionaudit_dotenv_plaintext
Scan .env files in the working directory for plaintext secrets.
crates/frankclaw-cli/src/main.rs:3188
↓ 2 callersFunctionaudit_encryption
( config: &frankclaw_core::config::FrankClawConfig, findings: &mut Vec<Finding>, )
crates/frankclaw-cli/src/main.rs:2781
↓ 2 callersFunctionaudit_inline_secrets
( config: &frankclaw_core::config::FrankClawConfig, findings: &mut Vec<Finding>, )
crates/frankclaw-cli/src/main.rs:2669
↓ 2 callersFunctionaudit_legacy_credentials
Check for legacy credential files in state directory.
crates/frankclaw-cli/src/main.rs:3242
↓ 2 callersFunctionaudit_secret_refs
Check for shadowed secret refs: a provider has both inline value and env ref.
crates/frankclaw-cli/src/main.rs:3138
↓ 2 callersFunctionauthenticate_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 callersFunctionbuild_delete_body
(target: &DeleteMessageTarget)
crates/frankclaw-channels/src/slack.rs:610
↓ 2 callersFunctionbuild_delete_body
(target: &DeleteMessageTarget)
crates/frankclaw-channels/src/telegram.rs:736
↓ 2 callersFunctionbuild_domain_regex
(keywords: &[&str])
crates/frankclaw-models/src/routing.rs:289
↓ 2 callersFunctionbuild_edit_body
(target: &EditMessageTarget, new_text: &str)
crates/frankclaw-channels/src/slack.rs:600
↓ 2 callersFunctionbuild_edit_body
(target: &EditMessageTarget, new_text: &str)
crates/frankclaw-channels/src/telegram.rs:717
↓ 2 callersFunctionbuild_edit_request
(target: &EditMessageTarget, new_text: &str)
crates/frankclaw-channels/src/discord.rs:583
↓ 2 callersFunctionbuild_inbound_attachments
( attachments: Option<&[SignalAttachmentPayload]>, )
crates/frankclaw-channels/src/signal.rs:441
↓ 2 callersFunctionbuild_providers
( config: &FrankClawConfig, state_dir: &Path, )
crates/frankclaw-runtime/src/lib.rs:1894
↓ 2 callersFunctionbuild_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 callersMethodbuild_system_prompt
( &self, agent_id: &AgentId, agent: &AgentDef, model_id: &str, tools:
crates/frankclaw-runtime/src/lib.rs:1309
↓ 2 callersFunctionbuild_test_state
( temp_dir: &PathBuf, )
crates/frankclaw-gateway/src/ws.rs:362
↓ 2 callersFunctionbuild_test_state_with_providers
( temp_dir: &Path, providers: Vec<Arc<dyn ModelProvider>>, )
crates/frankclaw-gateway/src/methods.rs:1077
↓ 2 callersFunctionbuild_upload_ticket_request
(filename: &str, length: usize)
crates/frankclaw-channels/src/slack.rs:573
↓ 2 callersFunctionbytes_to_f32
(data: &[u8])
crates/frankclaw-memory/src/embedding.rs:534
↓ 2 callersMethodcan_fire
Check if the routine can fire given its guardrails and current state.
crates/frankclaw-cron/src/triggers.rs:183
↓ 2 callersFunctioncanvas_clear
Handle `canvas.clear` method.
crates/frankclaw-gateway/src/methods.rs:595
↓ 2 callersFunctioncanvas_export
Handle `canvas.export` method.
crates/frankclaw-gateway/src/methods.rs:454
↓ 2 callersFunctioncanvas_get
Handle `canvas.get` method.
crates/frankclaw-gateway/src/methods.rs:442
↓ 2 callersFunctioncanvas_patch
Handle `canvas.patch` method.
crates/frankclaw-gateway/src/methods.rs:539
↓ 2 callersMethodcapabilities
(&self)
crates/frankclaw-gateway/src/server.rs:2064
↓ 2 callersFunctionchat_send
Handle `chat.send` method.
crates/frankclaw-gateway/src/methods.rs:133
↓ 2 callersFunctioncheck_port_available
(port: u16)
crates/frankclaw-cli/src/main.rs:2376
↓ 2 callersFunctionclamp_id
Truncate a string to the maximum identifier length.
crates/frankclaw-core/src/types.rs:8
↓ 2 callersMethodcleanup_old_runs
Clean up completed/failed/killed runs older than the given duration.
crates/frankclaw-runtime/src/subagent.rs:312
↓ 2 callersMethodclear
Clear all cached entries.
crates/frankclaw-models/src/cache.rs:164
↓ 2 callersFunctioncollect_browser_tool_warnings
( config: &frankclaw_core::config::FrankClawConfig, browser_endpoint: Option<&str>, )
crates/frankclaw-cli/src/main.rs:1304
↓ 2 callersFunctionconfig_file_stamp
(path: &FsPath)
crates/frankclaw-gateway/src/server.rs:1429
↓ 2 callersFunctionconfig_restart_fingerprint
(config: &FrankClawConfig)
crates/frankclaw-gateway/src/server.rs:1442
↓ 2 callersMethodcreate_target
(&self, url: &str)
crates/frankclaw-tools/src/lib.rs:789
↓ 2 callersFunctiondecode_nibble
(value: u8)
crates/frankclaw-channels/src/whatsapp.rs:479
↓ 2 callersFunctiondecode_nibble
(value: u8)
crates/frankclaw-gateway/src/webhooks.rs:193
↓ 2 callersFunctiondefault_cost
Default cost for unknown models (roughly GPT-4o pricing).
crates/frankclaw-models/src/costs.rs:73
↓ 2 callersMethoddefinition
(&self)
crates/frankclaw-tools/src/messaging.rs:17
↓ 2 callersMethoddefinition
(&self)
crates/frankclaw-tools/src/sessions.rs:22
↓ 2 callersMethoddefinition
(&self)
crates/frankclaw-tools/src/memory.rs:26
↓ 2 callersMethoddelete
(&self, _key: &SessionKey)
crates/frankclaw-tools/src/lib.rs:295
↓ 2 callersFunctiondelete_targets_from_last_reply
( last_reply: &frankclaw_gateway::delivery::StoredReplyMetadata, )
crates/frankclaw-cli/src/main.rs:1578
↓ 2 callersMethoddisable
Disable a plugin. Returns true if the plugin was found.
crates/frankclaw-plugin-sdk/src/lifecycle.rs:85
↓ 2 callersMethoddrain
(&self)
crates/frankclaw-gateway/src/delivery.rs:734
↓ 2 callersMethodedit_message
(&self, target: &EditMessageTarget, new_text: &str)
crates/frankclaw-channels/src/slack.rs:386
↓ 2 callersMethodedit_message
(&self, _target: &EditMessageTarget, new_text: &str)
crates/frankclaw-gateway/src/delivery.rs:896
↓ 2 callersFunctionencode_signature
(secret: &str, body: &[u8])
crates/frankclaw-gateway/src/webhooks.rs:164
↓ 2 callersMethodencrypt_content
Encrypt content if encryption is enabled, otherwise return raw bytes.
crates/frankclaw-sessions/src/store.rs:93
↓ 2 callersMethodensure_initialized
Initialize the MCP connection if not already done.
crates/frankclaw-tools/src/mcp/mod.rs:295
↓ 2 callersMethodensure_pending
( &self, channel: &str, account_id: &str, sender_id: &str, )
crates/frankclaw-gateway/src/pairing.rs:68
↓ 2 callersMethodensure_provider
(&self)
crates/frankclaw-models/src/copilot.rs:389
↓ 2 callersMethodevaluate_value
( &self, socket: &mut tokio_tungstenite::WebSocketStream<tokio_tungstenite::MaybeTlsStream<tok
crates/frankclaw-tools/src/lib.rs:936
↓ 2 callersFunctionexecute_request
( state: &Arc<GatewayState>, request: ResolvedWebhookRequest, )
crates/frankclaw-gateway/src/webhooks.rs:117
↓ 2 callersMethodextract
(&self, session_id: &str)
crates/frankclaw-tools/src/lib.rs:532
↓ 2 callersFunctionextract_by_path
Traverse nested JSON using dot-notation path (e.g., "data.message.text").
crates/frankclaw-gateway/src/webhooks.rs:88
↓ 2 callersFunctionextract_html
(html: &str, _mode: &str)
crates/frankclaw-tools/src/web.rs:127
↓ 2 callersFunctionf32_to_bytes
(data: &[f32])
crates/frankclaw-memory/src/embedding.rs:530
↓ 2 callersFunctionfile_source
(base: &Path, path: &Path)
crates/frankclaw-memory/src/sync.rs:178
↓ 2 callersMethodfinish
Finalize the accumulated stream into a `CompletionResponse`.
crates/frankclaw-models/src/openai_compat.rs:196
↓ 2 callersMethodflush_event
(&mut self)
crates/frankclaw-models/src/sse.rs:74
↓ 2 callersMethodget_cached
(&self, hash: &str)
crates/frankclaw-memory/src/embedding.rs:241
↓ 2 callersFunctiongroup_surface_needs_guard
(channel_id: &str)
crates/frankclaw-cli/src/main.rs:1300
↓ 2 callersMethodhandles
(&self)
crates/frankclaw-media/src/understanding.rs:228
↓ 2 callersMethodhealth
(&self)
crates/frankclaw-gateway/src/ws.rs:357
↓ 2 callersFunctionhelp_text
Generate help text for all registered commands.
crates/frankclaw-runtime/src/commands.rs:295
↓ 2 callersFunctionhydrate_outbound_attachments
( mut outbound: OutboundMessage, media: Option<&MediaStore>, )
crates/frankclaw-gateway/src/delivery.rs:117
↓ 2 callersMethodid
(&self)
crates/frankclaw-models/src/openai.rs:50
↓ 2 callersMethodid
(&self)
crates/frankclaw-channels/src/whatsapp.rs:126
↓ 2 callersMethodid
(&self)
crates/frankclaw-channels/src/discord.rs:221
↓ 2 callersMethodid
(&self)
crates/frankclaw-channels/src/telegram.rs:349
↓ 2 callersMethodinvoke
(&self, args: serde_json::Value, _ctx: ToolContext)
crates/frankclaw-tools/src/bash.rs:228
↓ 2 callersMethodis_available
(&self, now: Instant)
crates/frankclaw-core/src/api_keys.rs:53
↓ 2 callersFunctionis_color_enabled
Returns true if color output should be used.
crates/frankclaw-cli/src/terminal.rs:18
↓ 2 callersFunctionis_content
(role: &str)
crates/frankclaw-tools/src/aria.rs:120
↓ 2 callersFunctionis_interactive
(role: &str)
crates/frankclaw-tools/src/aria.rs:116
↓ 2 callersFunctionis_metadata_path
(path: &std::path::Path)
crates/frankclaw-media/src/store.rs:287
↓ 2 callersFunctionis_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 callersMethodlist_children
List all runs for a given parent session.
crates/frankclaw-runtime/src/subagent.rs:279
↓ 2 callersMethodlist_models
(&self)
crates/frankclaw-runtime/src/lib.rs:251
↓ 2 callersMethodlist_models
(&self)
crates/frankclaw-gateway/src/ws.rs:343
← previousnext →301–400 of 2,115, ranked by callers