MCPcopy Create free account

hub / github.com/Kuberwastaken/claurst / functions

Functions4,591 in github.com/Kuberwastaken/claurst

↓ 12 callersFunctionmutate_ui_settings
(f: F)
src-rust/crates/commands/src/lib.rs:5157
↓ 12 callersMethodpush_undo
Push the current (text, cursor) to the undo stack.
src-rust/crates/tui/src/prompt_input.rs:2429
↓ 12 callersMethodsave
Persist settings to disk.
src-rust/crates/core/src/lib.rs:1498
↓ 12 callersFunctionsettings
(model: &str)
src-rust/crates/core/src/migrations.rs:273
↓ 12 callersMethodupdate_status
Update the status of a task. No-op if the ID is unknown.
src-rust/crates/core/src/lib.rs:4007
↓ 12 callersMethodwith_metadata
(mut self, meta: Value)
src-rust/crates/tools/src/lib.rs:143
↓ 11 callersFunctionapply_vim_command
Apply a vim normal-mode motion/command to `text`/`cursor`. Returns the new (text, cursor_pos) after the command. Covers: h j k l w b e 0 $ i a I A dd
src-rust/crates/tui/src/prompt_input.rs:971
↓ 11 callersMethodcheck_permission
Check permissions for a tool invocation.
src-rust/crates/tools/src/lib.rs:394
↓ 11 callersMethodcheck_permission_for_path
( &self, tool_name: &str, description: &str, path: PathBuf, is_re
src-rust/crates/tools/src/lib.rs:404
↓ 11 callersMethodfinish
Finalize and produce the accumulated `Message`.
src-rust/crates/api/src/lib.rs:1436
↓ 11 callersFunctionhandle_permission_key
Handle a key event while a permission dialog is active. Returns `true` if the dialog was confirmed/dismissed (caller should clear it). Behaviour by
src-rust/crates/tui/src/dialogs.rs:640
↓ 11 callersFunctionhas_flag
Check whether `haystack` contains `needle` as a whole word (bounded by non-alphanumeric/underscore characters or start/end of string).
src-rust/crates/core/src/bash_classifier.rs:60
↓ 11 callersMethodnext_f64
Returns next pseudo-random value in [0, 1).
src-rust/crates/buddy/src/lib.rs:26
↓ 11 callersMethodopen
Open the browser with the provided session list.
src-rust/crates/tui/src/session_browser.rs:67
↓ 11 callersFunctionparse_keystroke
Parse a keystroke string like "ctrl+shift+enter" into ParsedKeystroke
src-rust/crates/core/src/keybindings.rs:51
↓ 11 callersFunctionparse_unified_diff
Parse unified diff text into `Vec<FileDiffStats>`.
src-rust/crates/tui/src/diff_viewer.rs:408
↓ 11 callersMethodpush_message
(&mut self, message: Message)
src-rust/crates/tui/src/app.rs:2513
↓ 11 callersMethodresolve_path
Resolve a potentially relative path against the working directory.
src-rust/crates/tools/src/lib.rs:308
↓ 11 callersFunctionrun_query_loop
Run the agentic query loop. This sends the conversation to the API, handles tool calls in a loop, and returns when the model issues an end_turn or an
src-rust/crates/query/src/lib.rs:726
↓ 11 callersFunctionsample_items
()
src-rust/crates/tui/src/dialog_select.rs:426
↓ 11 callersFunctionsample_sessions
()
src-rust/crates/tui/src/session_browser.rs:416
↓ 11 callersMethodtoggle
(&mut self)
src-rust/crates/tui/src/overlays.rs:305
↓ 10 callersMethodaccept_suggestion
Accept the current suggestion.
src-rust/crates/tui/src/prompt_input.rs:2623
↓ 10 callersMethodcontent_blocks
Returns all content blocks (wrapping a single text into a vec).
src-rust/crates/core/src/lib.rs:448
↓ 10 callersMethodexecute_named
(&self, args: &[&str], ctx: &CommandContext)
src-rust/crates/commands/src/named_commands.rs:53
↓ 10 callersMethodfilter_push
Type a character into the filter.
src-rust/crates/tui/src/dialog_select.rs:125
↓ 10 callersFunctiongit
(dir: &Path, args: &[&str])
src-rust/crates/core/tests/snapshot_tests.rs:45
↓ 10 callersFunctionload_session
Load a specific session by ID.
src-rust/crates/core/src/lib.rs:3080
↓ 10 callersFunctionload_ui_settings
()
src-rust/crates/commands/src/lib.rs:5136
↓ 10 callersFunctionmake_dialog
()
src-rust/crates/tui/src/elicitation_dialog.rs:578
↓ 10 callersMethodopen
(&mut self)
src-rust/crates/tui/src/dialog_select.rs:67
↓ 10 callersFunctionparse_error_response
Convert an HTTP error response into the appropriate [`ProviderError`]. Tries JSON parsing, then falls back to the raw body. Context overflow is chec
src-rust/crates/api/src/error_handling.rs:77
↓ 10 callersFunctionrender_message
(msg: &Message, ctx: &RenderContext)
src-rust/crates/tui/src/messages/mod.rs:1571
↓ 10 callersFunctionrender_user_command
Render a user command invocation (skill invocation display). Shows: `▸ ` in cyan bold + command name in cyan bold + " " + args in white. Special case
src-rust/crates/tui/src/messages/mod.rs:1744
↓ 10 callersMethodresolve_anthropic_api_base
(&self)
src-rust/crates/core/src/lib.rs:1461
↓ 10 callersFunctionstr_field
(input: &'a serde_json::Value, key: &str)
src-rust/crates/tui/src/messages/mod.rs:947
↓ 10 callersMethodsync_legacy_prompt_fields
(&mut self)
src-rust/crates/tui/src/app.rs:2672
↓ 10 callersFunctiontruncate
(s: &str, n: usize)
src-rust/crates/tui/src/messages/mod.rs:950
↓ 9 callersMethodactive
Get the active profile id for a provider.
src-rust/crates/core/src/accounts.rs:133
↓ 9 callersMethodapi_key_for
Get the API key for a provider, checking stored credentials first then falling back to the relevant environment variable.
src-rust/crates/core/src/auth_store.rs:107
↓ 9 callersMethodcancel
Cancel the current mode: - In `Rename` or `Confirm` mode: return to `Browse`. - In `Browse` mode: close the overlay.
src-rust/crates/tui/src/session_browser.rs:154
↓ 9 callersFunctioncdp_call
Send a CDP method call and wait for the matching response. Returns the full response object (including `result` / `error`).
src-rust/crates/commands/src/lib.rs:5605
↓ 9 callersMethodconfirm
Confirm the current selection and hide the dialog. Returns the chosen action.
src-rust/crates/tui/src/dialogs.rs:1034
↓ 9 callersMethoddecode
Decode a JWT payload segment without verifying the signature. Strips the `sk-ant-si-` session-ingress prefix if present, then base64url-decodes the s
src-rust/crates/bridge/src/lib.rs:57
↓ 9 callersFunctionestimate_tokens_for_messages
Rough token estimate: sum of character lengths divided by 4, padded by 4/3.
src-rust/crates/query/src/compact.rs:158
↓ 9 callersMethodget_goal
Get the current goal for a session (any status).
src-rust/crates/core/src/goal.rs:228
↓ 9 callersFunctionhandle_mcp_approval_key
Handle a key event while the MCP approval dialog is open. Returns `Some(choice)` when the user confirms (Enter or digit shortcut), or `Some(Deny)` wh
src-rust/crates/tui/src/dialogs.rs:1226
↓ 9 callersMethodkind
(&self)
src-rust/crates/mcp/src/rmcp_backend.rs:501
↓ 9 callersFunctionmake_ctx
()
src-rust/crates/commands/src/named_commands.rs:1137
↓ 9 callersFunctionmake_picker_with_current
(current: &str)
src-rust/crates/tui/src/model_picker.rs:1032
↓ 9 callersMethodmessages
(mut self, msgs: Vec<ApiMessage>)
src-rust/crates/api/src/lib.rs:1230
↓ 9 callersFunctionmodal_header_line_area
(header_area: Rect, row: u16)
src-rust/crates/tui/src/overlays.rs:225
↓ 9 callersFunctionnormalize_char_with_shift
Apply shift transformation to a character based on standard US QWERTY layout. Handles both ASCII lowercase letters and number/symbol keys. Why this e
src-rust/crates/tui/src/app.rs:599
↓ 9 callersFunctionparse_inline_formatting
Parse inline formatting including italic, strikethrough, bold Supports: **bold**, __bold__, *italic*, _italic_, ~~strikethrough~~, `code` NOTE: Limite
src-rust/crates/tui/src/messages/markdown_enhanced.rs:235
↓ 9 callersFunctionparse_slash_command
Parse a slash command into `(command_name, args)`. Returns `("", "")` if the input is not a slash command.
src-rust/crates/tui/src/input.rs:10
↓ 9 callersFunctionpath_to_uri
(path: &str)
src-rust/crates/core/src/lsp.rs:834
↓ 9 callersMethodpush
Push a new notification. `duration_secs` — `None` for persistent, `Some(n)` for auto-expire after *n* seconds.
src-rust/crates/tui/src/notifications.rs:53
↓ 9 callersMethodpush_char
(&mut self, c: char, history: &[String])
src-rust/crates/tui/src/overlays.rs:885
↓ 9 callersFunctionrender_app
Render the entire application into the current frame.
src-rust/crates/tui/src/render.rs:420
↓ 9 callersFunctionrender_dark_overlay
Darken the entire screen with a semi-transparent overlay. Call this BEFORE rendering any dialog content.
src-rust/crates/tui/src/overlays.rs:44
↓ 9 callersFunctionrender_dialog_bg
Fill a rectangle with the standard dialog background color (no border).
src-rust/crates/tui/src/overlays.rs:60
↓ 9 callersFunctionrender_user_local_command_output
Render a user local command output block. Header: ` !{command}` in dark gray bold, body up to max_lines in gray, overflow indicator: ` ... N more li
src-rust/crates/tui/src/messages/mod.rs:1870
↓ 9 callersMethodrevert
Revert individual files to their state at each patch's hash.
src-rust/crates/core/src/snapshot/shadow.rs:76
↓ 9 callersFunctionsave_session
Save a session to `~/.claurst/sessions/<id>.json`.
src-rust/crates/core/src/lib.rs:3070
↓ 9 callersMethodset_goal
Create or replace the active goal for a session.
src-rust/crates/core/src/goal.rs:182
↓ 9 callersMethodset_status
Update the status of the goal for a session.
src-rust/crates/core/src/goal.rs:263
↓ 9 callersMethodshow
Show the dialog with stashed input and oversized files.
src-rust/crates/tui/src/file_injection_dialog.rs:58
↓ 8 callersMethodbackspace
Delete the character before cursor.
src-rust/crates/tui/src/prompt_input.rs:1608
↓ 8 callersFunctionbuild_system_prompt
Build the complete system prompt string. The returned string contains `SYSTEM_PROMPT_DYNAMIC_BOUNDARY` as an internal marker. Callers (e.g. `buildSy
src-rust/crates/core/src/system_prompt.rs:237
↓ 8 callersFunctioncheck_voice_availability
Check whether voice mode is available given the current OAuth tokens. Pass `None` when the user is not authenticated via OAuth (API-key-only auth).
src-rust/crates/core/src/voice.rs:89
↓ 8 callersFunctioncompute_file_suggestions
Compute typeahead suggestions for file references (e.g., `@src/main.rs`).
src-rust/crates/tui/src/prompt_input.rs:1105
↓ 8 callersFunctiondefault_bindings
Default keybindings with comprehensive coverage of text editing, navigation, vim, and TUI actions # Standard Keybindings (Phase 1 Implementation) - *
src-rust/crates/core/src/keybindings.rs:161
↓ 8 callersFunctionfind_bundled_skill
Find a bundled skill by name or alias (case-insensitive).
src-rust/crates/tools/src/bundled_skills.rs:416
↓ 8 callersMethodget_tool_use_blocks
Return references to all `ToolUse` blocks in this message.
src-rust/crates/core/src/lib.rs:415
↓ 8 callersFunctionhandle_paste
Handle a paste event. Large pastes (≥3 lines or >150 chars) are replaced with a compact placeholder like `[Pasted ~12 lines #3]` while the real conte
src-rust/crates/tui/src/prompt_input.rs:1320
↓ 8 callersMethodhandle_query_event
Process a query event from the agentic loop.
src-rust/crates/tui/src/app.rs:5858
↓ 8 callersMethodlist
Return a snapshot of all tasks, ordered by `started_at` ascending.
src-rust/crates/core/src/lib.rs:4030
↓ 8 callersMethodlist_by_provider
List all models for a given provider.
src-rust/crates/api/src/model_registry.rs:703
↓ 8 callersMethodload_cache
Load a previously saved cache file, merging entries into the registry. The cache file may be either: 1. The raw models.dev `api.json` response (provi
src-rust/crates/api/src/model_registry.rs:940
↓ 8 callersFunctionmake_config
(name: &str)
src-rust/crates/core/src/lsp.rs:1254
↓ 8 callersMethodon_event
(&self, _event: &AnthropicStreamEvent)
src-rust/crates/api/src/lib.rs:327
↓ 8 callersMethodopen
Open the dialog, pre-populating each row from `existing[upstream.id]` when present.
src-rust/crates/tui/src/free_mode_dialog.rs:83
↓ 8 callersFunctionopen_tmp
()
src-rust/crates/core/src/goal.rs:422
↓ 8 callersFunctionprefix_message_lines
( mut rendered: Vec<Line<'static>>, role: &Role, width: u16, )
src-rust/crates/tui/src/messages/mod.rs:1468
↓ 8 callersFunctionrender_markdown
Render markdown text to styled ratatui lines.
src-rust/crates/tui/src/messages/markdown.rs:25
↓ 8 callersFunctionrender_user_memory_input
Render a user memory input line. Shows: `# {key}: {value}` in cyan, with an optional ` Got it.` line in dark gray italic.
src-rust/crates/tui/src/messages/mod.rs:1852
↓ 8 callersFunctionreplace
(path: Path, pattern: str, repl: str, *, count: int = 0, flags: int = re.MULTILINE)
scripts/bump-version.py:35
↓ 8 callersFunctionscan_buffer_for_urls
Scan a buffer that's just been rendered (e.g. `CompletedFrame::buffer` or `Frame::buffer_mut()` inside a `Terminal::draw` closure) for URL runs and re
src-rust/crates/tui/src/osc8.rs:102
↓ 8 callersFunctionscan_dir
Scan a single directory for `*.md` skill files.
src-rust/crates/core/src/skill_discovery.rs:98
↓ 8 callersMethodshow_if_available
Show the notice if voice mode is available but not yet enabled.
src-rust/crates/tui/src/voice_mode_notice.rs:33
↓ 8 callersMethodsystem
(mut self, s: SystemPrompt)
src-rust/crates/api/src/lib.rs:1240
↓ 8 callersMethodtotal_cost_usd
(&self)
src-rust/crates/core/src/lib.rs:3369
↓ 8 callersMethodtotal_tokens
(&self)
src-rust/crates/commands/src/stats.rs:195
↓ 8 callersMethodupdate_matches
Re-compute matches against the given history slice.
src-rust/crates/tui/src/app.rs:460
↓ 8 callersMethodwith_base_url
Override the API base URL (e.g. for Azure, Ollama, or other compatible endpoints).
src-rust/crates/api/src/providers/openai.rs:69
↓ 7 callersMethodall
All loaded plugins (enabled + disabled).
src-rust/crates/plugins/src/registry.rs:70
↓ 7 callersFunctionall_entries
(screen: &SettingsScreen)
src-rust/crates/tui/src/settings_screen.rs:256
↓ 7 callersFunctionapi_key_env_vars_for_provider
Definition of a named agent with per-agent model, permissions, temperature, and system prompt.
src-rust/crates/core/src/lib.rs:656
↓ 7 callersFunctionbuffer_with
(lines: &[&str])
src-rust/crates/tui/src/osc8.rs:206
↓ 7 callersFunctionbuild_provider_options
( provider_id: &str, model_id: &str, effort_level: Option<claurst_core::effort::EffortLevel>,
src-rust/crates/query/src/lib.rs:274
← previousnext →101–200 of 4,591, ranked by callers