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
↓ 1 callers
Function
body_style
Body-part style: bold pink foreground (#e91e63).
src-rust/crates/tui/src/rustle.rs:30
↓ 1 callers
Function
branch_session
Create a new session that is a branch of `source_id` at message index `at_message_idx`. The new session starts with messages `[0, at_message_idx)` co
src-rust/crates/core/src/lib.rs:3160
↓ 1 callers
Function
break_long_token
Hard-break a token that doesn't fit on a line of `width` columns, returning the chunks each ≤ `width` cells wide. Splits at character boundaries — nev
src-rust/crates/tui/src/dialogs.rs:325
↓ 1 callers
Method
budget_display
Budget display string. Returns None when no budget set.
src-rust/crates/core/src/goal.rs:86
↓ 1 callers
Function
build_anthropic_client
`wreq` client with Bun's TLS fingerprint, for Anthropic calls.
src-rust/crates/api/src/bun_tls.rs:39
↓ 1 callers
Function
build_auth_url
Build the OAuth authorization URL (mirrors `buildAuthUrl` in client.ts).
src-rust/crates/core/src/oauth_config.rs:361
↓ 1 callers
Function
build_dialog_content
(dialog: &ToolPermissionDialog)
src-rust/crates/tui/src/dialogs.rs:799
↓ 1 callers
Function
build_env_info_section
Build the dynamic environment-info section injected after the boundary. Mirrors `computeEnvInfo()` + `getUnameSR()` from `src/constants/prompts.ts`.
src-rust/crates/core/src/system_prompt.rs:341
↓ 1 callers
Function
build_extraction_prompt
(transcript: &str, working_dir: &str)
src-rust/crates/query/src/session_memory.rs:365
↓ 1 callers
Function
build_highlighted_spans
Build a list of `Span`s for `text`, highlighting the bytes at `highlight_positions` in yellow. Text is truncated to `max_chars`.
src-rust/crates/tui/src/overlays.rs:1095
↓ 1 callers
Function
build_import_preview
(selection: ImportSelection)
src-rust/crates/core/src/import_config.rs:123
↓ 1 callers
Function
build_import_preview_with_paths
( selection: ImportSelection, paths: ImportPaths, )
src-rust/crates/core/src/import_config.rs:132
↓ 1 callers
Function
build_json_export
Build the full JSON export value.
src-rust/crates/commands/src/lib.rs:4251
↓ 1 callers
Function
build_markdown_export
Build the full markdown export string.
src-rust/crates/commands/src/lib.rs:4230
↓ 1 callers
Function
build_mcp_manager
(config: &Config)
src-rust/crates/acp/src/runtime.rs:109
↓ 1 callers
Function
build_snapshot
( config: &claurst_core::config::McpServerConfig, peer: &rmcp::Peer<RoleClient>, )
src-rust/crates/mcp/src/rmcp_backend.rs:625
↓ 1 callers
Function
build_todo_nudge
Load persisted todos for `session_id` and return a nudge string if any are incomplete (status != "completed"). Returns empty string otherwise.
src-rust/crates/query/src/lib.rs:2146
↓ 1 callers
Function
build_tool_names
Build a tool_use_id → tool_name lookup from all messages in the transcript. This allows ToolResult blocks to dispatch to tool-specific renderers.
src-rust/crates/tui/src/render.rs:1573
↓ 1 callers
Function
build_transcript_turns
(app: &App)
src-rust/crates/tui/src/transcript_turn.rs:85
↓ 1 callers
Function
build_wrapper_script
Build the bash wrapper script that: 1. Restores saved cwd and env vars. 2. Runs the user command. 3. Prints the sentinel + final pwd + `env` dump so w
src-rust/crates/tools/src/bash.rs:104
↓ 1 callers
Function
build_wrapper_script
(command: &str, state: &ShellState, base_cwd: &PathBuf)
src-rust/crates/tools/src/pty_bash.rs:108
↓ 1 callers
Function
builtin_themes
()
src-rust/crates/tui/src/theme_screen.rs:96
↓ 1 callers
Function
bump_cargo_lock
Rewrite every workspace [[package]] block (those without a `source = ` line).
scripts/bump-version.py:45
↓ 1 callers
Function
bun_tls_options
`TlsOptions` reproducing Bun's ClientHello.
src-rust/crates/api/src/bun_tls.rs:22
↓ 1 callers
Function
cache_is_fresh
Whether the cache file is fresh enough to skip refreshing.
src-rust/crates/cli/src/main.rs:1104
↓ 1 callers
Method
cache_is_fresh
Whether the configured cache file is newer than the refresh interval.
src-rust/crates/api/src/model_registry.rs:865
↓ 1 callers
Function
cache_selectable_row_text
Snapshot the rendered text of every row inside the selectable area into `app.last_row_text` so that subsequent double/triple-clicks can locate word an
src-rust/crates/tui/src/render.rs:757
↓ 1 callers
Method
call_tool
( &self, name: &str, arguments: Option<Value>, )
src-rust/crates/mcp/src/lib.rs:677
↓ 1 callers
Method
can_submit
(&self)
src-rust/crates/tui/src/custom_provider_dialog.rs:90
↓ 1 callers
Method
cancel
Cancel the dialog and queue a `Cancelled` result.
src-rust/crates/tui/src/elicitation_dialog.rs:209
↓ 1 callers
Method
cancel_chord
(&mut self)
src-rust/crates/core/src/keybindings.rs:612
↓ 1 callers
Method
cancel_edit
Discard the current edit.
src-rust/crates/tui/src/settings_screen.rs:198
↓ 1 callers
Function
canonical_model_for_provider
(provider_id: &str, model_id: &str)
src-rust/crates/commands/src/lib.rs:130
↓ 1 callers
Method
capabilities
(&self)
src-rust/crates/api/src/providers/free.rs:410
↓ 1 callers
Function
catalog_entry
Look up a catalog entry by its `id`.
src-rust/crates/api/src/providers/free.rs:138
↓ 1 callers
Method
category_pct
Percentage of total tokens used by each category.
src-rust/crates/query/src/context_analyzer.rs:50
↓ 1 callers
Function
caveman_prompt
(level: &str)
src-rust/crates/tui/src/app.rs:1107
↓ 1 callers
Function
centered_dialog_area
Compute a centered rect of the given percentage size.
src-rust/crates/tui/src/dialogs.rs:916
↓ 1 callers
Function
check_and_continue_goal
Inspect the current goal for `session_id` after a completed turn and decide whether to continue. `total_tokens_used` is the session-wide cumulative t
src-rust/crates/query/src/goal_loop.rs:59
↓ 1 callers
Method
check_availability
Check if voice input is available on this system.
src-rust/crates/core/src/voice.rs:199
↓ 1 callers
Function
check_for_updates
Check for a newer version of Claurst in the background. Returns `Some(UpdateInfo)` when a newer release exists on GitHub. The result is cached for `C
src-rust/crates/core/src/update_check.rs:27
↓ 1 callers
Function
check_linux_clipboard_has_image
()
src-rust/crates/tui/src/image_paste.rs:211
↓ 1 callers
Function
check_microphone_availability
()
src-rust/crates/core/src/voice.rs:277
↓ 1 callers
Function
check_plugin_capability
Check whether a plugin command is allowed to execute based on its declared capability grants and the capability the action requires. # Policy - If th
src-rust/crates/plugins/src/lib.rs:44
↓ 1 callers
Function
classify_tool_kind
(tool_name: &str)
src-rust/crates/acp/src/prompt.rs:295
↓ 1 callers
Function
claude_config_dir
Return the ~/.claurst directory, falling back to the current directory.
src-rust/crates/core/src/remote_settings.rs:409
↓ 1 callers
Method
cleanup
Prune unreachable git objects older than 7 days.
src-rust/crates/core/src/snapshot/shadow.rs:94
↓ 1 callers
Method
clear_images
Drain and return all pending image attachments (called at send time).
src-rust/crates/tui/src/prompt_input.rs:1589
↓ 1 callers
Function
clear_pending_history_entries
Wipe all pending entries and state (used in tests).
src-rust/crates/core/src/prompt_history.rs:687
↓ 1 callers
Function
clear_system_prompt_sections
Clear all cached system prompt sections (called on /clear and /compact).
src-rust/crates/core/src/system_prompt.rs:30
↓ 1 callers
Function
click
Click the first element matching a CSS selector.
src-rust/crates/commands/src/lib.rs:5768
↓ 1 callers
Method
close
Close the browser entirely.
src-rust/crates/tui/src/session_browser.rs:76
↓ 1 callers
Method
close
(&mut self)
src-rust/crates/tui/src/free_mode_dialog.rs:103
↓ 1 callers
Method
close
(&mut self)
src-rust/crates/tui/src/settings_screen.rs:155
↓ 1 callers
Method
close
Close and clear the dialog.
src-rust/crates/tui/src/key_input_dialog.rs:49
↓ 1 callers
Method
close
(&mut self)
src-rust/crates/tui/src/hooks_config_menu.rs:123
↓ 1 callers
Method
close
(&mut self)
src-rust/crates/tui/src/agents_view.rs:263
↓ 1 callers
Method
close
(&mut self)
src-rust/crates/tui/src/custom_provider_dialog.rs:51
↓ 1 callers
Method
close
(&mut self)
src-rust/crates/tui/src/dialog_select.rs:76
↓ 1 callers
Method
close
(&mut self)
src-rust/crates/tui/src/feedback_survey.rs:60
↓ 1 callers
Method
close
Close the overlay.
src-rust/crates/tui/src/session_branching.rs:89
↓ 1 callers
Function
code_challenge
Compute `BASE64URL(SHA256(verifier))` — the S256 code challenge.
src-rust/crates/core/src/oauth_config.rs:270
↓ 1 callers
Function
codex_fallback_models
Static fallback used when the models.dev `openai` catalog is unavailable.
src-rust/crates/tui/src/model_picker.rs:439
↓ 1 callers
Function
codex_model_allowed
Whether a models.dev `openai` model id is available to a ChatGPT-auth Codex session. This is opencode's exact rule (see `packages/opencode/src/plugin/
src-rust/crates/core/src/codex_oauth.rs:59
↓ 1 callers
Function
codex_model_version
Parse the leading `gpt-<major>.<minor>` version out of a model id, matching opencode's `/^gpt-(\d+\.\d+)/`. Returns `None` when the id doesn't start w
src-rust/crates/core/src/codex_oauth.rs:72
↓ 1 callers
Function
codex_provider_models
Codex (ChatGPT-authenticated OpenAI) model list. Mirrors opencode's `provider.models()` hook exactly: instead of hardcoding a list, it takes the mode
src-rust/crates/tui/src/model_picker.rs:395
↓ 1 callers
Function
collect_jsonl_paths
Walk the project tree and return `(project_dir_decoded, jsonl_path)` tuples for every `.jsonl` file in scope.
src-rust/crates/commands/src/stats.rs:238
↓ 1 callers
Function
collect_local_entries
Collect local files that should be uploaded. Reads global user settings and AGENTS.md, plus (if `project_id` is given) project-local settings and AGE
src-rust/crates/core/src/settings_sync.rs:382
↓ 1 callers
Function
collect_md_files
Recursively collect `.md` files (excluding `MEMORY.md`) from `current_dir`.
src-rust/crates/core/src/memdir.rs:122
↓ 1 callers
Function
collect_symbol
Recursively collect symbol names from a DocumentSymbol or SymbolInformation node.
src-rust/crates/core/src/lsp.rs:777
↓ 1 callers
Method
color
(&self)
src-rust/crates/tui/src/notifications.rs:118
↓ 1 callers
Method
commit_edit
Commit the current edit to pending_changes.
src-rust/crates/tui/src/settings_screen.rs:190
↓ 1 callers
Function
compact_conversation
Compact `messages` in-place, replacing the head with a summary. Returns the new messages vector on success.
src-rust/crates/query/src/compact.rs:652
↓ 1 callers
Function
compute_typeahead
Compute typeahead suggestions for the current input. Handles two kinds of suggestions: - `/` slash commands (e.g. `/help`, `/clear`) - `@` file refer
src-rust/crates/tui/src/prompt_input.rs:1069
↓ 1 callers
Function
computer_use_api_definition
Build the extended API definition that includes type + display dimensions. Callers that need the full `computer_20250124` block can use this instead o
src-rust/crates/tools/src/computer_use.rs:170
↓ 1 callers
Method
confirm_create_new
Confirm creating a new branch. Returns `(name, at_message)` if valid. Resets to browse mode.
src-rust/crates/tui/src/session_branching.rs:149
↓ 1 callers
Method
confirm_delete
Confirm deletion of the selected branch. Returns the branch ID if confirmed, None otherwise.
src-rust/crates/tui/src/session_branching.rs:175
↓ 1 callers
Function
content_to_blocks
Normalise a `MessageContent` into a flat `Vec<ContentBlock>`. A `MessageContent::Text` shorthand is lifted into a single `ContentBlock::Text` so ever
src-rust/crates/core/src/cloud_session.rs:54
↓ 1 callers
Function
content_tokens
(content: &MessageContent)
src-rust/crates/query/src/context_analyzer.rs:87
↓ 1 callers
Function
context_collapse
Emergency context collapse: produce an ultra-short summary that distils the entire conversation into the minimum needed to continue, then keep only th
src-rust/crates/query/src/compact.rs:965
↓ 1 callers
Function
context_window_for_model
Return the context window token limit for a known model.
src-rust/crates/core/src/message_utils.rs:38
↓ 1 callers
Function
convert_call_tool_result
(result: rmcp_model::CallToolResult)
src-rust/crates/mcp/src/rmcp_backend.rs:805
↓ 1 callers
Function
convert_get_prompt_result
(result: rmcp_model::GetPromptResult)
src-rust/crates/mcp/src/rmcp_backend.rs:794
↓ 1 callers
Function
convert_server_capabilities
(capabilities: rmcp_model::ServerCapabilities)
src-rust/crates/mcp/src/rmcp_backend.rs:687
↓ 1 callers
Function
convert_to_sixel
Convert RGBA image data to Sixel format using the icy_sixel library. The icy_sixel crate provides high-quality color quantization and dithering to co
src-rust/crates/tui/src/kitty_image.rs:323
↓ 1 callers
Function
coordinator_system_prompt
System prompt sections injected when coordinator mode is active
src-rust/crates/query/src/coordinator.rs:40
↓ 1 callers
Function
copy_dir_all
Recursively copy a directory.
src-rust/crates/plugins/src/lib.rs:503
↓ 1 callers
Function
copy_to_clipboard
Attempt to copy text to clipboard using platform CLI tools
src-rust/crates/tui/src/message_copy.rs:376
↓ 1 callers
Function
create_api_key
Exchange an OAuth access token for an Anthropic API key (Console flow only).
src-rust/crates/cli/src/oauth_flow.rs:354
↓ 1 callers
Method
create_message_codex
Send a request to OpenAI Codex API instead of Anthropic.
src-rust/crates/api/src/lib.rs:680
↓ 1 callers
Method
create_message_non_streaming
( &self, request: &ProviderRequest, )
src-rust/crates/api/src/providers/openai_compat.rs:409
↓ 1 callers
Method
create_message_non_streaming
( &self, request: &ProviderRequest, )
src-rust/crates/api/src/providers/openai.rs:357
↓ 1 callers
Method
create_message_non_streaming
( &self, request: &ProviderRequest, )
src-rust/crates/api/src/providers/cohere.rs:123
↓ 1 callers
Method
create_message_stream
( &self, request: ProviderRequest, )
src-rust/crates/api/src/providers/anthropic.rs:292
↓ 1 callers
Method
create_message_stream
( &self, request: ProviderRequest, )
src-rust/crates/api/src/providers/minimax.rs:327
↓ 1 callers
Function
create_worktree
(git_root: &Path, agent_id: &str)
src-rust/crates/query/src/agent_tool.rs:49
↓ 1 callers
Function
crof
Crof.ai — OpenAI-compatible endpoint for model routing. Reads `CROF_API_KEY` for authentication.
src-rust/crates/api/src/providers/openai_compat_providers.rs:526
↓ 1 callers
Function
cron_matches
Check if a cron expression fires at the given minute-resolution datetime.
src-rust/crates/tools/src/cron.rs:112
↓ 1 callers
Function
cron_range_matches
(part: &str, value: u32)
src-rust/crates/tools/src/cron.rs:149
↓ 1 callers
Function
cron_to_human
Convert a cron expression to a human-readable description.
src-rust/crates/tools/src/cron.rs:218
← previous
next →
1,201–1,300 of 4,591, ranked by callers