MCPcopy Create free account

hub / github.com/JoasASantos/ironclaw / functions

Functions1,229 in github.com/JoasASantos/ironclaw

↓ 204 callersMethodclone
(&self)
src/rbac/mod.rs:54
↓ 72 callersMethodget
Get a tool by name.
src/core/tool.rs:167
↓ 25 callersMethodstore
(&self, key: &str, value: &str, context: &str)
src/memory/mod.rs:298
↓ 23 callersMethodcheck_url
Validate a URL for SSRF attacks.
src/network/mod.rs:103
↓ 21 callersMethodscan_source
Scan source code and return findings.
src/skills/scanner.rs:79
↓ 19 callersMethodscan_output
Scan output text for sensitive data and apply DLP actions.
src/dlp/mod.rs:106
↓ 18 callersFunctiontest_guard
()
src/network/mod.rs:430
↓ 18 callersFunctiontest_stealer
()
src/antitheft/mod.rs:589
↓ 17 callersFunctiontest_engine
()
src/dlp/mod.rs:410
↓ 16 callersFunctionscanner
()
src/skills/scanner.rs:440
↓ 15 callersMethodcount
Number of registered skills.
src/skills/mod.rs:585
↓ 15 callersFunctiondefault_guardian
()
src/security/mod.rs:2111
↓ 14 callersFunctionresolve_model
( config: Option<&ProviderConfig>, model_override: Option<&str>, default: &str, )
src/providers/mod.rs:156
↓ 13 callersMethodstart_session
Start a new collaboration session.
src/agents/mod.rs:386
↓ 13 callersFunctiontest_ssrf
()
src/security/mod.rs:2234
↓ 13 callersFunctionvalidate_command_mock
Mock validator using the same patterns as CommandGuardian
tests/security_tests.rs:260
↓ 12 callersFunctionscan_for_dangerous_patterns
Simulate skill scanning with pattern detection.
tests/security_tests.rs:1103
↓ 12 callersFunctiontest_stealer
()
src/security/mod.rs:2430
↓ 11 callersMethodcheck_file_access
Check if a file path access should be blocked (stealer detection).
src/antitheft/mod.rs:134
↓ 11 callersFunctiondefault_guardian
()
src/guardian/mod.rs:294
↓ 11 callersMethodload
Load configuration from a TOML file. If the file does not exist, secure defaults are returned. After deserialization the configuration is validated a
src/core/config.rs:1262
↓ 11 callersFunctionmake_args
(pairs: &[(&str, &str)])
src/core/cache.rs:293
↓ 11 callersFunctionmake_simple_workflow
()
src/workflow/mod.rs:763
↓ 11 callersMethodsave_conversation
Save a complete conversation (header + messages). If a conversation with the same ID already exists, its messages are replaced and the header is upda
src/core/history.rs:161
↓ 10 callersFunctiondlp_scan
Simulate DLP scanning for sensitive data in output.
tests/security_tests.rs:1225
↓ 10 callersMethodexecute
( &self, _args: &HashMap<String, Value>, _ctx: &SecurityContex
src/core/tool.rs:244
↓ 10 callersFunctionmake_messages
(n: usize)
src/core/history.rs:514
↓ 10 callersMethodrecord_usage
Record a single usage event.
src/core/cost.rs:127
↓ 10 callersFunctionresolve_base_url
(config: Option<&ProviderConfig>, default: &str)
src/providers/mod.rs:167
↓ 10 callersMethodscan_output
Scan output text; apply Block / Redact / Warn actions per rule.
src/security/mod.rs:1641
↓ 10 callersFunctiontest_dlp
()
src/security/mod.rs:2332
↓ 9 callersMethodcheck_file_access
Check whether accessing `path` should be blocked.
src/security/mod.rs:842
↓ 9 callersFunctionmake_store
()
src/core/history.rs:510
↓ 9 callersFunctionmake_usage
(provider: &str, model: &str, cost: f64)
src/core/cost.rs:293
↓ 9 callersMethodregister
Register a workflow definition.
src/workflow/mod.rs:277
↓ 9 callersFunctionresolve_api_key
Extract `ProviderConfig` fields with fallbacks.
src/providers/mod.rs:146
↓ 9 callersFunctionresolve_max_tokens
(config: Option<&ProviderConfig>, default: u32)
src/providers/mod.rs:173
↓ 9 callersFunctionscrub_key
Scrub all occurrences of `secret` from `text` so API keys never leak.
src/providers/mod.rs:130
↓ 8 callersFunctionbuild_client
Build a [`reqwest::Client`] with the given timeout.
src/providers/mod.rs:138
↓ 8 callersFunctionmake_sqlite_store
()
src/memory/mod.rs:889
↓ 8 callersFunctionparse_schedule
Parse a simple schedule expression into a `chrono::Duration`. Supported formats: - `"every N minutes"` / `"every N minute"` - `"every N hours"` / `"e
src/core/scheduler.rs:67
↓ 8 callersMethodresolve_template
(&self, template: &str, vars: &HashMap<String, String>)
src/workflow/mod.rs:633
↓ 8 callersMethodset
Store a tool result in the cache. Does nothing if caching is disabled or the tool is non-deterministic.
src/core/cache.rs:181
↓ 8 callersMethodtext
Create a text block.
src/core/types.rs:183
↓ 7 callersMethodcheck_url
Validate a URL for SSRF attacks.
src/security/mod.rs:1316
↓ 7 callersMethodget
Get a registered skill by name.
src/skills/mod.rs:575
↓ 7 callersFunctionhash_content
(content: &[u8])
tests/security_tests.rs:488
↓ 7 callersMethodload
Load and fully validate a skill from a directory. Returns the manifest together with the scan report so the caller can decide whether to proceed.
src/skills/mod.rs:304
↓ 7 callersMethodrecord
(&self, usage: &TokenUsage)
src/providers/mod.rs:54
↓ 7 callersMethodregister
Register a channel. Replaces any previous channel of the same type.
src/channels/mod.rs:998
↓ 7 callersMethodscan_content
Check if content contains credential-like data (for DLP integration).
src/antitheft/mod.rs:181
↓ 7 callersFunctiontruncate_output
Truncate a string to `max` bytes, appending a truncation notice.
src/sandbox/mod.rs:108
↓ 6 callersMethodcheck_typosquatting
Check if a package name looks like a typosquat of a popular package.
src/skills/community.rs:397
↓ 6 callersMethoddefault
()
src/core/cost.rs:50
↓ 6 callersFunctiondlp_redact
(content: &str)
tests/security_tests.rs:1251
↓ 6 callersMethodexecute_round
Execute a sequential collaboration round. In production this would call actual LLM providers. Here we simulate the orchestration logic.
src/agents/mod.rs:439
↓ 6 callersMethodget
Attempt to retrieve a cached result for the given tool call. Returns `None` if caching is disabled, the tool is non-deterministic, or no matching ent
src/core/cache.rs:154
↓ 6 callersFunctionmake_cache
()
src/core/cache.rs:289
↓ 6 callersFunctionparse_dt
(s: &str)
src/core/history.rs:487
↓ 6 callersFunctionparse_url_from_stream
Read lines from an async reader, looking for the first regex match. Returns the matched string or an error if the deadline expires.
src/tunnel/mod.rs:471
↓ 6 callersMethodrecord_agent_contribution
( &mut self, session_id: &str, agent_id: &str, output: &str, )
src/agents/mod.rs:599
↓ 6 callersMethodresolve
Resolve the profile for a given skill name.
src/sandbox/profiles.rs:440
↓ 6 callersFunctionresolve_temperature
(config: Option<&ProviderConfig>)
src/providers/mod.rs:177
↓ 6 callersMethodsimulate_agent_response
(&self, agent_id: &str, task: &str)
src/agents/mod.rs:589
↓ 6 callersMethodstart_execution
Start a workflow execution.
src/workflow/mod.rs:296
↓ 6 callersFunctiontest_policy
()
src/rbac/mod.rs:468
↓ 5 callersMethodexecute_next_step
Execute the next ready step in a workflow execution. Returns the step ID that was executed, or None if no step is ready.
src/workflow/mod.rs:345
↓ 5 callersMethodlog_alert
Log a security alert (elevated severity, also printed to stderr).
src/security/mod.rs:1993
↓ 5 callersMethodmatches
(&self, path: &str)
src/rbac/mod.rs:101
↓ 5 callersFunctionsecurity_to_yaml
Converte o nível de segurança numa secção YAML com as flags correctas.
src/cli/onboard.rs:378
↓ 5 callersFunctiontest_authenticator
Shared helper: build an authenticator with a known secret and 1-hour TTL.
src/auth/mod.rs:276
↓ 5 callersFunctiontest_tracker
()
src/core/cost.rs:289
↓ 4 callersMethodadd_job
Register a new job. The `handler` closure is spawned on the tokio runtime each time the job fires.
src/core/scheduler.rs:153
↓ 4 callersMethodbuild_docker_cmd
Build the full Docker CLI invocation with all security flags.
src/sandbox/mod.rs:152
↓ 4 callersMethodchat
(&self, messages: &[Message], tools: &[Value])
src/providers/mod.rs:320
↓ 4 callersMethodcheck_budget
Check whether the current spend is within budget. Returns `Ok(())` if within limits, or an error describing which limit was exceeded.
src/core/cost.rs:178
↓ 4 callersMethodcheck_command
Check a shell command for stealer-like patterns.
src/antitheft/mod.rs:245
↓ 4 callersMethodchunk_messages
Chunk messages so they fit within the configured context window. Returns a new `Vec<Message>` that is guaranteed to fit within `max_context_tokens -
src/core/chunking.rs:102
↓ 4 callersFunctiondetect_providers
Verifica quais provedores cloud têm chaves API definidas e devolve a lista completa (cloud + local) com indicação de disponibilidade.
src/cli/onboard.rs:107
↓ 4 callersMethodflush
Flush any remaining buffered events.
src/observability/mod.rs:368
↓ 4 callersMethodget_execution
Get execution status.
src/workflow/mod.rs:494
↓ 4 callersMethodget_session
Get a session by ID.
src/agents/mod.rs:529
↓ 4 callersFunctiongraceful_kill
Send SIGTERM, wait briefly, then SIGKILL if the process is still alive.
src/tunnel/mod.rs:519
↓ 4 callersMethodissue_token
Issue a fresh `SessionToken` for the given provider, model, and session. The token is signed immediately and its expiry is set to `now + ttl`.
src/auth/mod.rs:99
↓ 4 callersMethodload_conversation
Load a conversation and all its messages.
src/core/history.rs:215
↓ 4 callersMethodmatches
(&self, path: &str)
src/security/mod.rs:350
↓ 4 callersMethodprometheus_export
Render all metrics in the Prometheus text exposition format.
src/observability/mod.rs:158
↓ 4 callersFunctionredact_pii_mock
(data: &serde_json::Value)
tests/security_tests.rs:718
↓ 4 callersMethodset_skill_level
Set the level for a specific skill.
src/sandbox/profiles.rs:482
↓ 4 callersFunctionshellexpand
Simple home directory expansion.
src/observability/mod.rs:954
↓ 4 callersMethodstart
Start the scheduler loop. The loop checks every second for jobs that are due and executes them.
src/core/scheduler.rs:199
↓ 4 callersMethodvalidate
Validate security invariants that must never be weakened.
src/core/config.rs:1296
↓ 4 callersMethodverify_skill
Verify a skill against its manifest.
src/skills/mod.rs:157
↓ 3 callersMethodbuild_bwrap_cmd
Build the bwrap invocation.
src/sandbox/mod.rs:332
↓ 3 callersMethodcheck_exfiltration_correlation
Detect read-then-send correlation across tool calls in the same session.
src/security/mod.rs:998
↓ 3 callersMethodcheck_ipv4
(&self, ip: Ipv4Addr)
src/security/mod.rs:1477
↓ 3 callersMethodcheck_ipv4
(&self, ip: Ipv4Addr)
src/network/mod.rs:297
↓ 3 callersMethodcheck_resolved_ip
Validate an IP address after DNS resolution (DNS rebinding prevention).
src/network/mod.rs:178
↓ 3 callersFunctionchild_is_alive
Check if a child process is still running (non-blocking).
src/tunnel/mod.rs:511
↓ 3 callersMethoddecrypt
(&self, ciphertext: &[u8], nonce: &[u8; 12])
src/memory/mod.rs:202
next →1–100 of 1,229, ranked by callers