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
Function
read_text_linux_selection
(primary: bool)
src-rust/crates/tui/src/image_paste.rs:85
↓ 2 callers
Method
register
Register this bridge session with the CCR server. POST `/api/claude_code/sessions` — mirrors the TypeScript `registerBridgeEnvironment` call in `brid
src-rust/crates/bridge/src/lib.rs:447
↓ 2 callers
Method
reject_confirm
The user pressed 'n' or Esc in the Confirming step — go back to selector.
src-rust/crates/tui/src/overlays.rs:1411
↓ 2 callers
Method
reload_files
(&mut self, project_root: &std::path::Path)
src-rust/crates/tui/src/diff_viewer.rs:227
↓ 2 callers
Function
reload_plugins
Reload plugins: produce a new registry, compute the diff, and replace the old one. Returns the new registry and a `ReloadDiff` describing what change
src-rust/crates/plugins/src/lib.rs:241
↓ 2 callers
Function
remove_account
(provider: &str, display_name: &str, id: &str)
src-rust/crates/cli/src/main.rs:4135
↓ 2 callers
Function
remove_worktree
(git_root: &Path, worktree_dir: &Path)
src-rust/crates/query/src/agent_tool.rs:74
↓ 2 callers
Function
rename_model
Rename `from` to `to` in the `model`, `defaultModel`, and `mainLoopModel` fields. Returns `true` if any field was changed.
src-rust/crates/core/src/migrations.rs:147
↓ 2 callers
Function
renderMarkdown
(text)
src-rust/crates/core/src/share_export/template.js:360
↓ 2 callers
Function
renderThinking
(text)
src-rust/crates/core/src/share_export/template.js:330
↓ 2 callers
Function
render_advisor_message
Render an advisor status line.
src-rust/crates/tui/src/messages/mod.rs:1202
↓ 2 callers
Function
render_agent_editor
(state: &AgentsMenuState, area: Rect, buf: &mut Buffer)
src-rust/crates/tui/src/agents_view.rs:752
↓ 2 callers
Function
render_agent_notification
Render an agent notification line.
src-rust/crates/tui/src/messages/mod.rs:1225
↓ 2 callers
Function
render_agents_menu
Render the agents menu overlay.
src-rust/crates/tui/src/agents_view.rs:562
↓ 2 callers
Function
render_assistant_text
Render an assistant text message body.
src-rust/crates/tui/src/messages/mod.rs:118
↓ 2 callers
Function
render_attachment_chip
(kind: &str, label: String)
src-rust/crates/tui/src/messages/mod.rs:192
↓ 2 callers
Function
render_attachment_chip_colored
(kind: &str, label: String, badge_bg: Color, badge_fg: Color)
src-rust/crates/tui/src/messages/mod.rs:202
↓ 2 callers
Function
render_attachment_line
(kind: &str, label: String)
src-rust/crates/tui/src/messages/mod.rs:1561
↓ 2 callers
Function
render_attachment_message
Render an attachment message (skill listing, agent listing, MCP instructions, hook results, etc.)
src-rust/crates/tui/src/messages/mod.rs:1182
↓ 2 callers
Function
render_goal_active_block
Render the yellow `GOAL ACTIVE / Objective: …` badge that replaces the `/goal <objective>` user-input line in the transcript.
src-rust/crates/tui/src/messages/mod.rs:1830
↓ 2 callers
Function
render_grouped_tool_use
Render a grouped tool use summary. Collapsed: `▸ {n} tool calls` in yellow with first few names comma-joined. Expanded: same header + each tool on its
src-rust/crates/tui/src/messages/mod.rs:1976
↓ 2 callers
Function
render_hook_progress
Render a hook progress line (grey spinner + command).
src-rust/crates/tui/src/messages/mod.rs:1435
↓ 2 callers
Function
render_hooks_config_menu
( state: &HooksConfigMenuState, area: Rect, buf: &mut Buffer, )
src-rust/crates/tui/src/hooks_config_menu.rs:343
↓ 2 callers
Function
render_mcp_approval_dialog
Render the MCP server approval dialog as a centred overlay. The `buf` parameter is accepted per the spec; the function actually delegates to the widg
src-rust/crates/tui/src/dialogs.rs:1075
↓ 2 callers
Function
render_prompt_input
Render the prompt input widget in the same low-chrome style as Claurst: multi-line input rows (one per logical line in the text) plus an accent underl
src-rust/crates/tui/src/prompt_input.rs:2877
↓ 2 callers
Function
render_rate_limit_banner
Render a rate-limit warning banner.
src-rust/crates/tui/src/messages/mod.rs:1409
↓ 2 callers
Function
render_table
Render a markdown table as styled lines with box-drawing characters
src-rust/crates/tui/src/messages/markdown_enhanced.rs:123
↓ 2 callers
Function
render_theme_screen
Render the theme picker overlay into `frame`.
src-rust/crates/tui/src/theme_screen.rs:189
↓ 2 callers
Function
render_tool_block_lines
(lines: &mut Vec<Line<'static>>, block: &crate::app::ToolUseBlock, frame_count: u64)
src-rust/crates/tui/src/render.rs:1643
↓ 2 callers
Function
render_tool_use
Render a compact tool-use block that matches the newer transcript language.
src-rust/crates/tui/src/messages/mod.rs:1001
↓ 2 callers
Function
render_transcript_assistant_message_tagged
Returns lines for each content block with an optional thinking hash tag. The hash is `Some(hash)` only for the header line of a Thinking block, enabli
src-rust/crates/tui/src/messages/mod.rs:580
↓ 2 callers
Function
render_unseen_divider
Render an unseen divider.
src-rust/crates/tui/src/messages/mod.rs:1362
↓ 2 callers
Function
render_user_text_with_ctx
Render a user text message body.
src-rust/crates/tui/src/messages/mod.rs:123
↓ 2 callers
Function
render_welcome_box
Render the two-column orange round-bordered welcome box (matches TS LogoV2).
src-rust/crates/tui/src/render.rs:1455
↓ 2 callers
Method
reset
Reset to no auto-approve.
src-rust/crates/core/src/auto_mode.rs:79
↓ 2 callers
Method
resolve_api_base
Resolve the API base URL for the active provider.
src-rust/crates/core/src/lib.rs:1467
↓ 2 callers
Function
resolve_fast_model_id
(config: &Config)
src-rust/crates/commands/src/lib.rs:153
↓ 2 callers
Function
resolve_legacy_endpoint
(base_url: &str, endpoint: &str)
src-rust/crates/mcp/src/lib.rs:411
↓ 2 callers
Function
resolve_provider_api_base
( config: &claurst_core::config::Config, provider_id: &str, )
src-rust/crates/api/src/registry.rs:38
↓ 2 callers
Method
resolve_provider_api_key
(&self, provider_id: &str)
src-rust/crates/core/src/lib.rs:1315
↓ 2 callers
Function
resolve_subagent_model
(params: &AgentInput, ctx: &ToolContext)
src-rust/crates/query/src/agent_tool.rs:102
↓ 2 callers
Method
resolve_temperature
Resolve the temperature to use: request value takes priority, then the quirk default, then nothing (let the API default apply).
src-rust/crates/api/src/providers/openai_compat.rs:374
↓ 2 callers
Function
restore_original
(path: &Path, original: Option<&str>)
src-rust/crates/core/src/import_config.rs:808
↓ 2 callers
Function
restore_terminal_cleanup
Restore terminal capabilities (alternate screen, mouse capture, bracketed paste, keyboard enhancement). Used by both restore_terminal and the panic ho
src-rust/crates/tui/src/lib.rs:187
↓ 2 callers
Function
route_incoming_value
( server_name: &str, value: serde_json::Value, response_tx: &mpsc::UnboundedSender<
src-rust/crates/mcp/src/lib.rs:427
↓ 2 callers
Method
run
Run the TUI event loop. Returns `Some(input)` when the user submits a message, or `None` when the user quits.
src-rust/crates/tui/src/app.rs:6057
↓ 2 callers
Function
run_hook_sync
Execute a single `RegisteredHook` by spawning its shell command. `event_json` is the JSON payload that will be written to the child's stdin. This is
src-rust/crates/plugins/src/hooks.rs:162
↓ 2 callers
Function
run_mcp_auth_session
(session: McpAuthSession)
src-rust/crates/mcp/src/oauth.rs:284
↓ 2 callers
Method
run_poll_loop
Run the bridge poll loop until `cancel` is triggered or a fatal error occurs. On each iteration: 1. Drain any pending outgoing events and upload them
src-rust/crates/bridge/src/lib.rs:658
↓ 2 callers
Method
rustle_look_down
Trigger Rustle looking down briefly (called on Tab / mode switch).
src-rust/crates/tui/src/app.rs:1808
↓ 2 callers
Function
sambanova
SambaNova — fast inference cloud. Reads `SAMBANOVA_API_KEY`.
src-rust/crates/api/src/providers/openai_compat_providers.rs:305
↓ 2 callers
Method
save
Persist the store to disk (best-effort). Writes to a temp file then renames over the destination so a crash or disk-full mid-write can never truncate
src-rust/crates/core/src/auth_store.rs:71
↓ 2 callers
Function
save_codex_tokens_for_profile
Save Codex OAuth tokens for a named profile under `~/.claurst/accounts/codex/<profile_id>/codex_tokens.json`.
src-rust/crates/core/src/oauth_config.rs:427
↓ 2 callers
Method
save_for_profile
Save tokens for a specific account profile under `~/.claurst/accounts/anthropic/<profile_id>/oauth_tokens.json`.
src-rust/crates/core/src/lib.rs:3654
↓ 2 callers
Function
save_todos
Persist `todos` to `~/.claurst/todos/<session_id>.json`.
src-rust/crates/tools/src/todo_write.rs:34
↓ 2 callers
Function
scaleway
Scaleway — EU cloud AI. Reads `SCALEWAY_API_KEY`.
src-rust/crates/api/src/providers/openai_compat_providers.rs:417
↓ 2 callers
Function
scan_memory_dir
Scan a memory directory, returning metadata for all `.md` files (excluding `MEMORY.md`), sorted newest-first, capped at `MAX_MEMORY_FILES`. This is a
src-rust/crates/core/src/memdir.rs:104
↓ 2 callers
Function
scheduled_tasks_path
Path to `~/.claurst/scheduled_tasks.json`.
src-rust/crates/tools/src/cron.rs:60
↓ 2 callers
Method
scroll_detail_down
(&mut self)
src-rust/crates/tui/src/diff_viewer.rs:206
↓ 2 callers
Method
scroll_detail_up
(&mut self)
src-rust/crates/tui/src/diff_viewer.rs:202
↓ 2 callers
Method
scroll_down
(&mut self)
src-rust/crates/tui/src/dialogs.rs:761
↓ 2 callers
Method
scroll_step
Compute the number of lines to scroll per wheel/trackpad event. Implements a simple acceleration model: rapid events (< 40 ms apart) are treated as tr
src-rust/crates/tui/src/app.rs:2613
↓ 2 callers
Method
scroll_to_index
Scroll so item `idx` is visible, with 3 rows of headroom above.
src-rust/crates/tui/src/virtual_list.rs:125
↓ 2 callers
Method
scroll_up
(&mut self)
src-rust/crates/tui/src/dialogs.rs:757
↓ 2 callers
Method
scrub_tool_id
Scrub a tool-call ID according to the configured quirks.
src-rust/crates/api/src/providers/openai_compat.rs:170
↓ 2 callers
Method
search
Query by partial name or tag match (case-insensitive).
src-rust/crates/query/src/skill_prefetch.rs:38
↓ 2 callers
Function
search_registry
Return all servers whose name or any category contains `query` (case-insensitive).
src-rust/crates/mcp/src/registry.rs:140
↓ 2 callers
Function
section_title
(title: &str)
src-rust/crates/tui/src/import_config_dialog.rs:130
↓ 2 callers
Method
select_next
Move selection down (wraps).
src-rust/crates/tui/src/bypass_permissions_dialog.rs:47
↓ 2 callers
Method
select_next
(&mut self)
src-rust/crates/tui/src/theme_screen.rs:72
↓ 2 callers
Method
select_prev
Move selection up (wraps).
src-rust/crates/tui/src/bypass_permissions_dialog.rs:42
↓ 2 callers
Method
select_prev
(&mut self)
src-rust/crates/tui/src/theme_screen.rs:60
↓ 2 callers
Function
select_tip
Select the best tip to show for the given `session_num`. The algorithm picks the eligible tip (cooldown satisfied) that was shown least recently. If
src-rust/crates/core/src/tips.rs:283
↓ 2 callers
Method
selected_item
(&self)
src-rust/crates/tui/src/plugin_views.rs:208
↓ 2 callers
Method
send_error_response
Send a JSON-RPC error response.
src-rust/crates/acp/src/connection.rs:83
↓ 2 callers
Function
send_message
( writer: &mut BufWriter<ChildStdin>, body: &str, )
src-rust/crates/core/src/lsp.rs:126
↓ 2 callers
Method
send_notification
Send a notification (no id, no response expected).
src-rust/crates/acp/src/connection.rs:97
↓ 2 callers
Method
send_reply
(&mut self, answer: String)
src-rust/crates/tui/src/ask_user_dialog.rs:174
↓ 2 callers
Method
send_response
Send a successful JSON-RPC response to a previously received request.
src-rust/crates/acp/src/connection.rs:68
↓ 2 callers
Method
send_responses_non_streaming
( &self, request: &ProviderRequest, )
src-rust/crates/api/src/providers/copilot.rs:578
↓ 2 callers
Method
send_with_retry
Build the common request and execute with retry logic.
src-rust/crates/api/src/lib.rs:849
↓ 2 callers
Function
serve_single_response
( status_line: &str, content_type: &str, body: &str, )
src-rust/crates/mcp/src/rmcp_backend.rs:866
↓ 2 callers
Method
server_catalog
Return counts and names for tools/resources/prompts on connected servers.
src-rust/crates/mcp/src/lib.rs:1000
↓ 2 callers
Method
session_id
(&self)
src-rust/crates/bridge/src/lib.rs:427
↓ 2 callers
Function
session_shell_state
Return the persistent `ShellState` for the given session, creating one if needed.
src-rust/crates/tools/src/lib.rs:210
↓ 2 callers
Function
session_stats_from_entries
Compute per-session stats from a parsed entry list.
src-rust/crates/commands/src/stats.rs:405
↓ 2 callers
Method
set_cursor_at_visual
(&mut self, target_row: usize, target_col: usize, width: usize)
src-rust/crates/tui/src/prompt_input.rs:2753
↓ 2 callers
Method
set_error
Mark the flow as failed.
src-rust/crates/tui/src/device_auth_dialog.rs:124
↓ 2 callers
Method
set_model
(&self, model: &str)
src-rust/crates/core/src/lib.rs:3350
↓ 2 callers
Method
set_pid
Set the OS process ID for a task. No-op if unknown.
src-rust/crates/core/src/lib.rs:4048
↓ 2 callers
Function
sha256_hex
(data: &[u8])
src-rust/crates/core/src/file_history.rs:199
↓ 2 callers
Method
shadow_stdin
(&self, extra: Vec<&str>, stdin: Vec<u8>)
src-rust/crates/core/src/snapshot/shadow.rs:567
↓ 2 callers
Method
show
Show the dialog with the given server name, optional message, and fields.
src-rust/crates/tui/src/elicitation_dialog.rs:189
↓ 2 callers
Method
show_blob
(&self, hash: &str, file: &str)
src-rust/crates/core/src/snapshot/shadow.rs:497
↓ 2 callers
Method
show_context_menu
Show context menu at the given position.
src-rust/crates/tui/src/app.rs:5272
↓ 2 callers
Method
show_if_eligible
Show the dialog if eligible: supported platform, not dismissed, seen < 3.
src-rust/crates/tui/src/desktop_upsell_startup.rs:74
↓ 2 callers
Function
siliconflow
SiliconFlow — DeepSeek / Qwen hosting. Reads `SILICONFLOW_API_KEY`.
src-rust/crates/api/src/providers/openai_compat_providers.rs:338
↓ 2 callers
Method
smart_merge_with_defaults
Smart merge: preserve user customizations while adding new defaults
src-rust/crates/core/src/keybindings.rs:464
↓ 2 callers
Method
snapshots_for_turn
Return squashed snapshots for every file changed in `turn_index`.
src-rust/crates/core/src/file_history.rs:162
↓ 2 callers
Function
spawn_models_cache_refresh
Background-refresh the models cache from the configured source URL. Honors: `CLAURST_DISABLE_MODELS_FETCH` — skips the network call entirely. `CLAURS
src-rust/crates/cli/src/main.rs:1126
← previous
next →
1,001–1,100 of 4,591, ranked by callers