Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kuberwastaken/claurst
/ functions
Functions
4,591 in github.com/Kuberwastaken/claurst
⨍
Functions
4,591
◇
Types & classes
828
↓ 2 callers
Method
spawn_notification_poll_loop
Spawn background Tokio tasks for each connected MCP client to handle server-initiated notifications via async streams. Uses native push notifications
src-rust/crates/mcp/src/lib.rs:1307
↓ 2 callers
Function
split_nul
(s: &str)
src-rust/crates/core/src/snapshot/shadow.rs:602
↓ 2 callers
Function
split_reason
(reason: String)
src-rust/crates/tui/src/dialogs.rs:268
↓ 2 callers
Function
start_bridge_with_client
( config: BridgeConfig, _http: reqwest::Client, cancel: CancellationToken, )
src-rust/crates/bridge/src/lib.rs:834
↓ 2 callers
Method
start_macro_recording
Begin recording a macro into register `register`. If already recording, stops the current recording first.
src-rust/crates/tui/src/prompt_input.rs:2473
↓ 2 callers
Method
start_recording
Open the default input device and start buffering audio. On success a `RecordingStarted` notification is sent over `event_tx`. Returns an error when
src-rust/crates/tui/src/voice_capture.rs:69
↓ 2 callers
Function
startup_notice_lines
(app: &App, width: u16)
src-rust/crates/tui/src/render.rs:255
↓ 2 callers
Function
stepfun
StepFun — Step models. Reads `STEPFUN_API_KEY`.
src-rust/crates/api/src/providers/openai_compat_providers.rs:472
↓ 2 callers
Method
stop_macro_recording
Stop recording the current macro. Returns the register name that was being recorded.
src-rust/crates/tui/src/prompt_input.rs:2479
↓ 2 callers
Method
stop_sequences
(mut self, seqs: Vec<String>)
src-rust/crates/api/src/lib.rs:1270
↓ 2 callers
Function
strip_frontmatter
Remove YAML frontmatter delimited by `---` at the start of the file.
src-rust/crates/tools/src/skill_tool.rs:223
↓ 2 callers
Function
strip_markdown
Strip markdown formatting from text
src-rust/crates/tui/src/message_copy.rs:205
↓ 2 callers
Method
suggestion_prev
Select the previous suggestion.
src-rust/crates/tui/src/prompt_input.rs:2614
↓ 2 callers
Function
summarize_range
(line_numbers: Vec<u32>)
src-rust/crates/tui/src/diff_viewer.rs:400
↓ 2 callers
Function
switch_account
(provider: &str, display_name: &str, id: Option<&str>)
src-rust/crates/cli/src/main.rs:3973
↓ 2 callers
Method
sync_excludes
(&self, extra: &[String])
src-rust/crates/core/src/snapshot/shadow.rs:443
↓ 2 callers
Function
sync_key_project_memory
Canonical sync key for per-project memory (keyed by git-remote hash).
src-rust/crates/core/src/settings_sync.rs:49
↓ 2 callers
Function
sync_key_project_settings
Canonical sync key for per-project settings (keyed by git-remote hash).
src-rust/crates/core/src/settings_sync.rs:44
↓ 2 callers
Function
tag_session
Add a tag to a session (idempotent — duplicate tags are ignored).
src-rust/crates/core/src/lib.rs:3134
↓ 2 callers
Method
take_outcome
Take the outcome (if set) along with stashed input and images. Returns None if no outcome is set.
src-rust/crates/tui/src/file_injection_dialog.rs:112
↓ 2 callers
Method
take_result
Take the pending result, leaving `None` in place.
src-rust/crates/tui/src/elicitation_dialog.rs:204
↓ 2 callers
Function
test_request
(messages: Vec<Message>)
src-rust/crates/api/src/providers/google.rs:1055
↓ 2 callers
Function
text_from_content_blocks
(blocks: &[ContentBlock])
src-rust/crates/commands/src/lib.rs:185
↓ 2 callers
Function
together_ai
Together AI — hosted open-source models. Reads `TOGETHER_API_KEY`.
src-rust/crates/api/src/providers/openai_compat_providers.rs:208
↓ 2 callers
Method
toggle
(&mut self)
src-rust/crates/tui/src/export_dialog.rs:47
↓ 2 callers
Method
toggle
(&mut self)
src-rust/crates/tui/src/context_viz.rs:37
↓ 2 callers
Method
toggle_detail
(&mut self)
src-rust/crates/tui/src/plugin_views.rs:204
↓ 2 callers
Method
toggle_diff_type
(&mut self, project_root: &std::path::Path)
src-rust/crates/tui/src/diff_viewer.rs:194
↓ 2 callers
Method
top_k
(mut self, k: u32)
src-rust/crates/api/src/lib.rs:1265
↓ 2 callers
Method
top_p
(mut self, p: f32)
src-rust/crates/api/src/lib.rs:1260
↓ 2 callers
Method
total_height
Total height of all items at `width`.
src-rust/crates/tui/src/virtual_list.rs:118
↓ 2 callers
Function
transcript_path
Returns the full path to a session's JSONL transcript file.
src-rust/crates/core/src/session_storage.rs:238
↓ 2 callers
Function
truncate_output
(mut output: String, exit_code: i32)
src-rust/crates/tools/src/pty_bash.rs:457
↓ 2 callers
Function
try_format_file
Try to format a file using any configured formatter. Returns silently if no formatter is configured or the formatter fails.
src-rust/crates/tools/src/formatter.rs:7
↓ 2 callers
Function
untag_session
Remove a tag from a session (no-op if tag is not present).
src-rust/crates/core/src/lib.rs:3146
↓ 2 callers
Function
update_cache_path
()
src-rust/crates/core/src/update_check.rs:110
↓ 2 callers
Method
update_matches
Recompute matches from the given `history` slice. This updates the internal snapshot and recomputes. Callers that pass `&app.prompt_input.history` e
src-rust/crates/tui/src/overlays.rs:873
↓ 2 callers
Function
update_scroll_offset_for_selection
(screen: &mut SettingsScreen)
src-rust/crates/tui/src/settings_screen.rs:675
↓ 2 callers
Function
update_timestamps
(s: &mut SessionStats, raw_ts: &str)
src-rust/crates/commands/src/stats.rs:460
↓ 2 callers
Function
uppercase_region
Convert text region to uppercase.
src-rust/crates/tui/src/prompt_input.rs:348
↓ 2 callers
Method
upsert
Insert or update a profile, optionally setting it active.
src-rust/crates/core/src/accounts.rs:160
↓ 2 callers
Function
upstage
Upstage — Solar models. Reads `UPSTAGE_API_KEY`.
src-rust/crates/api/src/providers/openai_compat_providers.rs:461
↓ 2 callers
Method
uuid
Returns the `uuid` of the underlying message, if this is a transcript message type (user / assistant / attachment / system).
src-rust/crates/core/src/session_storage.rs:74
↓ 2 callers
Method
validate
Basic validation matching the TS schema checks.
src-rust/crates/plugins/src/manifest.rs:342
↓ 2 callers
Function
venice
Venice AI — privacy-focused inference. Reads `VENICE_API_KEY`.
src-rust/crates/api/src/providers/openai_compat_providers.rs:238
↓ 2 callers
Function
vim_normal
( mode: &mut VimMode, text: &mut String, cursor: &mut usize, key: &str, yank_buf: &mu
src-rust/crates/tui/src/prompt_input.rs:545
↓ 2 callers
Function
vim_operator
( mode: &mut VimMode, text: &mut String, cursor: &mut usize, key: &str, yank_buf: &mu
src-rust/crates/tui/src/prompt_input.rs:836
↓ 2 callers
Method
vim_search_forward
Move cursor to the next occurrence of `pattern` after `cursor + skip`. `skip = 0` finds from current position; `skip = 1` finds the *next* one.
src-rust/crates/tui/src/prompt_input.rs:2519
↓ 2 callers
Method
vision
Whether this model accepts image input. Derived from `modalities_input`. Kept as a method (rather than a field) so the registry only stores one sour
src-rust/crates/api/src/model_registry.rs:260
↓ 2 callers
Function
vultr_ai
Vultr — cloud inference. Reads `VULTR_API_KEY`.
src-rust/crates/api/src/providers/openai_compat_providers.rs:428
↓ 2 callers
Method
with_header
Append a custom header sent on every request.
src-rust/crates/api/src/providers/openai_compat.rs:139
↓ 2 callers
Function
word_wrap
(text: &str, max_width: usize)
src-rust/crates/tui/src/ask_user_dialog.rs:363
↓ 2 callers
Function
write_atomic
Write `contents` to `path` atomically: write to a temp file in the same directory, then rename over the destination. A crash or disk-full mid-write ca
src-rust/crates/tools/src/lib.rs:236
↓ 2 callers
Function
write_clipboard_text
Write text to the system clipboard. Returns `true` on success.
src-rust/crates/tui/src/image_paste.rs:315
↓ 2 callers
Function
write_text_linux_selection
(text: &str, primary: bool)
src-rust/crates/tui/src/image_paste.rs:366
↓ 2 callers
Function
zai
Z.AI (Zhipu) — current-generation GLM models (GLM-5.1, GLM-5, GLM-5-Turbo, GLM-4.7, etc.). Uses the Z.AI international endpoint per docs.z.ai. Reads `
src-rust/crates/api/src/providers/openai_compat_providers.rs:373
↓ 2 callers
Function
zhipu
Zhipu AI / GLM. Reads `ZHIPU_API_KEY`.
src-rust/crates/api/src/providers/openai_compat_providers.rs:360
↓ 1 callers
Function
accent_for_mode
Return the accent color for a given agent mode name.
src-rust/crates/tui/src/app.rs:1172
↓ 1 callers
Function
acquire_lock
Attempt to acquire an exclusive advisory lock. Returns `Some(LockGuard)` on success or `None` after exhausting retries.
src-rust/crates/core/src/prompt_history.rs:184
↓ 1 callers
Method
add_api_duration
(&self, ms: u64)
src-rust/crates/core/src/analytics.rs:49
↓ 1 callers
Method
add_event
Add an event to the span (no-op).
src-rust/crates/core/src/session_tracing.rs:25
↓ 1 callers
Method
add_persistent_allow
Allow `tool_name` persistently and save to settings.
src-rust/crates/core/src/lib.rs:2426
↓ 1 callers
Method
add_persistent_allow_path
Allow `tool_name` persistently on `path` and save settings.
src-rust/crates/core/src/lib.rs:2447
↓ 1 callers
Method
add_session_allow_path
Allow `tool_name` on `path` (glob) for the rest of this session.
src-rust/crates/core/src/lib.rs:2416
↓ 1 callers
Method
add_tool_duration
(&self, ms: u64)
src-rust/crates/core/src/analytics.rs:53
↓ 1 callers
Method
advance_cursor
Advance the cursor to the last message in `messages`.
src-rust/crates/query/src/session_memory.rs:122
↓ 1 callers
Function
aggregate
(args: &Args, ctx: &CommandContext)
src-rust/crates/commands/src/stats.rs:523
↓ 1 callers
Method
all
()
src-rust/crates/buddy/src/lib.rs:106
↓ 1 callers
Method
all
Return all skills.
src-rust/crates/query/src/skill_prefetch.rs:51
↓ 1 callers
Method
all_agent_paths
Collect paths to all `agents/` directories contributed by enabled plugins.
src-rust/crates/plugins/src/registry.rs:148
↓ 1 callers
Method
all_lsp_servers
Collect all LSP server configs contributed by enabled plugins.
src-rust/crates/plugins/src/registry.rs:205
↓ 1 callers
Method
all_skill_paths
Collect paths to all `skills/` directories contributed by enabled plugins.
src-rust/crates/plugins/src/registry.rs:137
↓ 1 callers
Method
all_statuses
Return status for every configured server (connected + failed).
src-rust/crates/mcp/src/lib.rs:972
↓ 1 callers
Method
all_statuses
Return status for every server.
src-rust/crates/mcp/src/connection_manager.rs:227
↓ 1 callers
Function
analyze_context
Analyse the context window usage by category. `system_prompt` and `tool_defs_json` are the separately-tracked strings; `messages` are the in-context
src-rust/crates/query/src/context_analyzer.rs:124
↓ 1 callers
Function
api_base_env_var_for_provider
(provider_id: &str)
src-rust/crates/core/src/lib.rs:708
↓ 1 callers
Method
api_key_is_empty
Returns `true` when the client was constructed without an API key. The query loop checks this to know whether it should fall back to a runtime-built
src-rust/crates/api/src/lib.rs:470
↓ 1 callers
Function
append_turn_items
( items: &mut Vec<RenderedLineItem>, turn: &TranscriptTurn<'_>, width: u16, tool_names: &std::
src-rust/crates/tui/src/render.rs:1210
↓ 1 callers
Method
apply_and_save
Apply all pending changes to settings and persist them.
src-rust/crates/tui/src/settings_screen.rs:204
↓ 1 callers
Method
apply_provider_refresh
( &mut self, config: Config, provider_registry: Option<std::sync::Arc<claurst_api::Pro
src-rust/crates/tui/src/app.rs:1918
↓ 1 callers
Function
apply_resource_templates
(resources: &mut [McpResource])
src-rust/crates/mcp/src/lib.rs:815
↓ 1 callers
Function
apply_selection_highlight
Post-render pass: invert colours on selected cells and extract the selection text into `app.selection_text`.
src-rust/crates/tui/src/render.rs:792
↓ 1 callers
Method
apply_theme
Apply a theme by name, persisting it to config.
src-rust/crates/tui/src/app.rs:1902
↓ 1 callers
Method
apply_tool_id_quirks
Apply `scrub_tool_id` to every tool-call id/tool_call_id in a messages array that was already built by `OpenAiProvider::to_openai_messages`.
src-rust/crates/api/src/providers/openai_compat.rs:184
↓ 1 callers
Function
apply_tool_result_budget
When the cumulative tool-result content exceeds `budget` characters, walk the message list from oldest to newest and replace individual `ToolResult` c
src-rust/crates/query/src/lib.rs:656
↓ 1 callers
Function
archive_name_for_target
(target: &str)
src-rust/crates/cli/src/upgrade.rs:170
↓ 1 callers
Method
as_str
Display as a lowercase string.
src-rust/crates/core/src/memdir.rs:47
↓ 1 callers
Method
attach_mcp_manager
(&mut self, mcp_manager: Arc<claurst_mcp::McpManager>)
src-rust/crates/tui/src/app.rs:2755
↓ 1 callers
Method
attribution_text
The opening attribution string for this prefix variant.
src-rust/crates/core/src/system_prompt.rs:174
↓ 1 callers
Method
audio_input
Whether this model accepts audio input.
src-rust/crates/api/src/model_registry.rs:265
↓ 1 callers
Method
auth_headers
Build auth headers. API key takes precedence over OAuth.
src-rust/crates/core/src/remote_settings.rs:138
↓ 1 callers
Function
auth_logout
Clear all stored credentials and exit.
src-rust/crates/cli/src/main.rs:4378
↓ 1 callers
Method
auth_state
Return the current authentication state for a server. - Returns `Authenticated` if a valid (non-expired) token exists on disk. - Returns `NotRequired
src-rust/crates/mcp/src/lib.rs:1172
↓ 1 callers
Function
auth_status
Print current auth status, then exit with code 0 (logged in) or 1 (not logged in).
src-rust/crates/cli/src/main.rs:4191
↓ 1 callers
Function
auto_compact_if_needed
Auto-compact `messages` if needed. Updates `state` in place. Returns `Some(new_messages)` if compaction ran, `None` otherwise.
src-rust/crates/query/src/compact.rs:683
↓ 1 callers
Method
backspace
Delete the last character from the active text/url field.
src-rust/crates/tui/src/elicitation_dialog.rs:270
↓ 1 callers
Method
backspace
(&mut self)
src-rust/crates/tui/src/free_mode_dialog.rs:149
↓ 1 callers
Method
bash_command_allowed_by_prefix
Returns `true` if the given bash `command` is covered by the session-local prefix allowlist (i.e. its first word matches an entry in `bash_prefix_allo
src-rust/crates/tui/src/app.rs:5143
↓ 1 callers
Method
best_small_model_for_provider
Pick the best "small" (fast/cheap) model for a provider.
src-rust/crates/api/src/model_registry.rs:780
↓ 1 callers
Function
binary_path
()
src-rust/crates/cli/tests/acp_smoke.rs:14
← previous
next →
1,101–1,200 of 4,591, ranked by callers