MCPcopy Create free account

hub / github.com/Kuberwastaken/claurst / functions

Functions4,591 in github.com/Kuberwastaken/claurst

↓ 3 callersFunctionui_settings_path
()
src-rust/crates/commands/src/lib.rs:5132
↓ 3 callersMethodupdate_flags_from_cached
Update in-memory flags from cached data
src-rust/crates/core/src/feature_flags.rs:208
↓ 3 callersMethodupdate_suggestions
Update typeahead suggestions for slash commands and file references in the current text.
src-rust/crates/tui/src/prompt_input.rs:2591
↓ 3 callersFunctionuri_to_path
(uri: &str)
src-rust/crates/core/src/lsp.rs:850
↓ 3 callersFunctionuser_invocable_skills
Return `(name, description)` pairs for all user-invocable bundled skills.
src-rust/crates/tools/src/bundled_skills.rs:424
↓ 3 callersFunctionwrap_str
Simple word-wrap helper for the request message.
src-rust/crates/tui/src/elicitation_dialog.rs:550
↓ 3 callersFunctionwrite_hits
(writer: &mut impl Write, hits: &[UrlHit])
src-rust/crates/tui/src/osc8.rs:180
↓ 3 callersFunctionxai
xAI (Grok). Reads `XAI_API_KEY`.
src-rust/crates/api/src/providers/openai_compat_providers.rs:171
↓ 3 callersMethodyank_to_register
Store `text` in the named register `register`.
src-rust/crates/tui/src/prompt_input.rs:2439
↓ 2 callersMethodaccept_confirm
The user pressed 'y' in the Confirming step. Returns the final message index to rewind to.
src-rust/crates/tui/src/overlays.rs:1402
↓ 2 callersMethodaccess_token
Return the current access token, refreshing first if it is expired.
src-rust/crates/api/src/providers/codex.rs:93
↓ 2 callersMethodaccount_id
(&self)
src-rust/crates/api/src/providers/codex.rs:238
↓ 2 callersMethodacquire_lock
Write a timestamp to the lock file, creating it if absent.
src-rust/crates/query/src/auto_dream.rs:193
↓ 2 callersMethodactive_profile
Get the active profile metadata, if any.
src-rust/crates/core/src/accounts.rs:140
↓ 2 callersFunctionagent_list_row
(title: String, meta: String, selected: bool, width: u16)
src-rust/crates/tui/src/agents_view.rs:838
↓ 2 callersMethodall_mcp_servers
Collect all MCP server configs contributed by enabled plugins.
src-rust/crates/plugins/src/registry.rs:187
↓ 2 callersFunctionall_named_commands
Return one instance of every registered named command.
src-rust/crates/commands/src/named_commands.rs:1101
↓ 2 callersFunctionanimation_frame
Map a clock tick (500 ms steps) to a frame index (0, 1, or 2). Mirrors the TypeScript idle-fidget sequence: `[0,0,0,0,1,0,0,0,-1→2,0,0,2,0,0,0]` cycl
src-rust/crates/buddy/src/lib.rs:857
↓ 2 callersFunctionanthropic_to_openai_request
Convert an Anthropic CreateMessageRequest to OpenAI ChatCompletion request format.
src-rust/crates/api/src/codex_adapter.rs:15
↓ 2 callersMethodany_modal_open
(&self)
src-rust/crates/tui/src/app.rs:2253
↓ 2 callersFunctionapplyShowTools
(on)
src-rust/crates/core/src/share_export/template.js:113
↓ 2 callersFunctionapply_block_style
(mut line: Line<'static>, width: u16)
src-rust/crates/tui/src/messages/mod.rs:163
↓ 2 callersFunctionapply_hunk
Apply a single `Hunk` to `lines` (the split lines of the file content). Returns the modified line vector, or an error describing why the context did
src-rust/crates/tools/src/apply_patch.rs:152
↓ 2 callersMethodapply_oauth_stealth
Make an OAuth request look like Claude Code: prepend the `x-anthropic-billing-header` block (`system[0]`) then the `"You are Claude Code…"` identity b
src-rust/crates/api/src/lib.rs:514
↓ 2 callersFunctionapply_operator_range
Apply an operator (d/c/y/gU/gu) to the range [from, to) in text. Returns `(new_text, new_cursor)`. For Change, sets mode to Insert.
src-rust/crates/tui/src/prompt_input.rs:363
↓ 2 callersMethodapply_settings_from_snapshot
Apply all settings from the snapshot to the screen fields. This is called on initialization and when opening the settings screen.
src-rust/crates/tui/src/settings_screen.rs:115
↓ 2 callersMethodas_str
Display name (lower-case, matches TypeScript SPECIES array).
src-rust/crates/buddy/src/lib.rs:83
↓ 2 callersMethodauthenticate
Run the browser-based OAuth flow and persist the resulting token.
src-rust/crates/mcp/src/lib.rs:1235
↓ 2 callersFunctionavailable_output_style_names
()
src-rust/crates/commands/src/lib.rs:430
↓ 2 callersFunctionbase64url_decode
Decode base64url (no padding) bytes.
src-rust/crates/core/src/crypto_utils.rs:28
↓ 2 callersFunctionbaseten
Baseten — model serving. Reads `BASETEN_API_KEY`.
src-rust/crates/api/src/providers/openai_compat_providers.rs:439
↓ 2 callersFunctionbearer_header_value
(token: &str)
src-rust/crates/mcp/src/lib.rs:397
↓ 2 callersFunctionbegin_mcp_auth
( server_name: &str, server_url: &str, )
src-rust/crates/mcp/src/oauth.rs:172
↓ 2 callersMethodbegin_user_turn_snapshot
(&mut self)
src-rust/crates/tui/src/app.rs:1532
↓ 2 callersFunctionbind_callback_listener
( redirect_uri: &str, )
src-rust/crates/mcp/src/oauth.rs:196
↓ 2 callersFunctionbuild_anthropic_response
Build an Anthropic CreateMessageResponse from parsed OpenAI data.
src-rust/crates/api/src/codex_adapter.rs:120
↓ 2 callersFunctionbuild_auth_url
Build an OAuth authorization URL with all required PKCE parameters.
src-rust/crates/core/src/lib.rs:3816
↓ 2 callersFunctionbuild_away_summary_prompt
()
src-rust/crates/query/src/away_summary.rs:43
↓ 2 callersFunctionbuild_diff_lines
(file: &FileDiffStats, width: u16)
src-rust/crates/tui/src/diff_viewer.rs:931
↓ 2 callersMethodbuild_events
(&mut self)
src-rust/crates/tui/src/hooks_config_menu.rs:228
↓ 2 callersFunctionbuild_excerpt
(content: &str, max_lines: usize, max_chars: usize)
src-rust/crates/core/src/import_config.rs:776
↓ 2 callersFunctionbuild_file_blocks
Build XML file blocks from a slice of resolved refs. Returns a string like: ```text <file path="src/main.rs"> ...contents... </file> ```
src-rust/crates/tui/src/file_injection.rs:145
↓ 2 callersMethodbuild_hook_registry
Build the `HookRegistry` from all enabled plugins.
src-rust/crates/plugins/src/registry.rs:170
↓ 2 callersFunctionbuild_mcp_auth_url
( authorization_endpoint: &str, redirect_uri: &str, verifier: &str, )
src-rust/crates/mcp/src/oauth.rs:126
↓ 2 callersMethodbuild_messages
Build the full messages array, applying all quirks.
src-rust/crates/api/src/providers/openai_compat.rs:238
↓ 2 callersMethodbuild_messages
Build the Cohere v2 messages array from the provider-agnostic request. Cohere v2 uses the same shape as OpenAI Chat Completions, so we reuse the OpenA
src-rust/crates/api/src/providers/cohere.rs:72
↓ 2 callersFunctionbuild_model_breakdown
(stats: &AggregatedStats)
src-rust/crates/tui/src/stats_dialog.rs:260
↓ 2 callersFunctionbuild_model_registry
()
src-rust/crates/query/src/agent_tool.rs:93
↓ 2 callersMethodbuild_system_context
System context (git status, platform, IDE, etc.)
src-rust/crates/core/src/lib.rs:1897
↓ 2 callersMethodbuild_tools
Build the Cohere v2 tools array. Same shape as OpenAI function tools.
src-rust/crates/api/src/providers/cohere.rs:80
↓ 2 callersFunctionbuild_tools_with_mcp
( mcp_manager: Option<Arc<claurst_mcp::McpManager>>, )
src-rust/crates/cli/src/main.rs:853
↓ 2 callersMethodbuild_user_context
User context (date, AGENTS.md memories, etc.)
src-rust/crates/core/src/lib.rs:1921
↓ 2 callersFunctioncentered_rect
Compute a centred `Rect` of the given `width` × `height` inside `area`.
src-rust/crates/tui/src/dialogs.rs:298
↓ 2 callersFunctioncerebras
Cerebras — wafer-scale inference. Reads `CEREBRAS_API_KEY`.
src-rust/crates/api/src/providers/openai_compat_providers.rs:193
↓ 2 callersMethodcheck_permission_with_details_and_path
( &self, tool_name: &str, description: &str, details: &str, path:
src-rust/crates/tools/src/lib.rs:452
↓ 2 callersFunctionclassify_ps_command
Classify a PowerShell command string (single line or multi-line script) and return its `PsRiskLevel`. The analysis is intentionally conservative: whe
src-rust/crates/core/src/ps_classifier.rs:155
↓ 2 callersFunctionclaude_code_billing_header
The `x-anthropic-billing-header` block (`system[0]`): `cc_version` + client hash suffix, `cc_entrypoint=cli`, and the literal `cch=00000` (the CLI nev
src-rust/crates/core/src/oauth_config.rs:128
↓ 2 callersFunctionclaude_code_cc_version_suffix
The official CLI's real client hash: the `cc_version` suffix, i.e. `sha256(SALT + text[4] + text[7] + text[20] + VERSION)[..3]`, where `text` is the f
src-rust/crates/core/src/oauth_config.rs:115
↓ 2 callersFunctionclaude_code_user_agent
User-Agent for OAuth requests: `claude-cli/<version> (external, cli)`.
src-rust/crates/core/src/oauth_config.rs:102
↓ 2 callersFunctionclear_codex_tokens
Clear tokens for the active Codex profile. Removes the profile from the registry as well.
src-rust/crates/core/src/oauth_config.rs:544
↓ 2 callersMethodclear_goal
Delete the goal for a session (called by /goal clear).
src-rust/crates/core/src/goal.rs:275
↓ 2 callersMethodclear_prompt
(&mut self)
src-rust/crates/tui/src/app.rs:2819
↓ 2 callersMethodclose
(&mut self)
src-rust/crates/tui/src/overlays.rs:314
↓ 2 callersMethodclose
(&mut self)
src-rust/crates/tui/src/theme_screen.rs:56
↓ 2 callersMethodclose
Hide the dialog without returning a choice (treated as Deny by callers).
src-rust/crates/tui/src/dialogs.rs:1041
↓ 2 callersMethodcodex_headers
( &self, builder: reqwest::RequestBuilder, token: &str, account_id: Option<&st
src-rust/crates/api/src/providers/codex.rs:221
↓ 2 callersFunctioncodex_tokens_path
Legacy single-file path: `~/.claurst/codex_tokens.json`. Kept for backward-compat reads when no account registry exists.
src-rust/crates/core/src/oauth_config.rs:421
↓ 2 callersFunctioncollect_markdown_commands
Recursively collect .md files from `dir` into `PluginCommandDef` items.
src-rust/crates/plugins/src/loader.rs:253
↓ 2 callersFunctioncommand_category
Category labels for help grouping.
src-rust/crates/commands/src/lib.rs:490
↓ 2 callersFunctioncommand_name_from_file
Derive a slash-command name from a markdown file path. e.g. `<plugin_dir>/commands/build/deploy.md` → `myplugin:build:deploy`
src-rust/crates/plugins/src/loader.rs:316
↓ 2 callersFunctioncommand_reason_body
(reason: String, command: &str)
src-rust/crates/tui/src/dialogs.rs:276
↓ 2 callersMethodcomplete
Mark a task as `Completed`. No-op if unknown or already terminal.
src-rust/crates/core/src/lib.rs:4038
↓ 2 callersMethodcomplete_pending
Look up and resolve a pending outbound request when a response arrives.
src-rust/crates/acp/src/connection.rs:161
↓ 2 callersFunctioncompute_modal_layout
( area: Rect, width: u16, height: u16, header_height: u16, footer_height: u16, )
src-rust/crates/tui/src/overlays.rs:85
↓ 2 callersMethodconfirm
Confirm the currently highlighted selection. Returns `true` if the user selected "Never" (permanent dismiss).
src-rust/crates/tui/src/desktop_upsell_startup.rs:105
↓ 2 callersMethodconnect
Connect to a single server by name, marking status along the way.
src-rust/crates/mcp/src/connection_manager.rs:142
↓ 2 callersFunctionconnect_mcp_manager_arc
( config: &Config, )
src-rust/crates/cli/src/main.rs:840
↓ 2 callersFunctionconsecutive_dates
Returns true when `next` is exactly one calendar day after `prev`. Both strings must be "YYYY-MM-DD".
src-rust/crates/tui/src/stats_dialog.rs:317
↓ 2 callersMethodconsolidation_prompt
Build the consolidation prompt for the forked subagent.
src-rust/crates/query/src/auto_dream.rs:286
↓ 2 callersFunctionconvert_resource_contents
(resource: rmcp_model::ResourceContents)
src-rust/crates/mcp/src/rmcp_backend.rs:741
↓ 2 callersFunctioncoordinator_user_context
Get the user context injected for coordinator sessions
src-rust/crates/query/src/coordinator.rs:168
↓ 2 callersMethodcreate_message
( &self, request: ProviderRequest, )
src-rust/crates/api/src/providers/free.rs:278
↓ 2 callersMethodcurrent_agent_mode_snapshot
(&self)
src-rust/crates/tui/src/app.rs:1526
↓ 2 callersMethodcurrent_outcome
Returns the currently-selected outcome option.
src-rust/crates/tui/src/file_injection_dialog.rs:83
↓ 2 callersMethodcurrent_user_turn_index
(&self)
src-rust/crates/tui/src/app.rs:1518
↓ 2 callersMethodcursor_visual_pos
Map the current cursor (byte offset) to a (visual_row, visual_col) pair given the wrap width. `width` is the usable column count for text.
src-rust/crates/tui/src/prompt_input.rs:2685
↓ 2 callersMethodcycle_agent_mode
Cycle to the next agent mode: build → plan → explore → build. Sets `agent_mode_changed` so the main loop can update the query config and tool list acc
src-rust/crates/tui/src/app.rs:1818
↓ 2 callersFunctiondate_to_days_since_epoch
(date: &str)
src-rust/crates/tui/src/stats_dialog.rs:326
↓ 2 callersFunctiondecode_jpeg
Decode JPEG image data into RGBA pixels. Uses the `image` crate to decode JPEG data and convert to RGBA8 format. Returns an error if decoding fails.
src-rust/crates/tui/src/kitty_image.rs:297
↓ 2 callersFunctiondeepinfra
DeepInfra — hosted open-weight models. Reads `DEEPINFRA_API_KEY`.
src-rust/crates/api/src/providers/openai_compat_providers.rs:182
↓ 2 callersFunctiondefault_opts
()
src-rust/crates/core/src/system_prompt.rs:540
↓ 2 callersMethoddelete_word_at_cursor
Alt+D: Delete word after cursor.
src-rust/crates/tui/src/prompt_input.rs:1889
↓ 2 callersMethoddelete_word_backward
Alt+Backspace: Delete word backward.
src-rust/crates/tui/src/prompt_input.rs:1783
↓ 2 callersMethoddelete_word_forward
Alt+Delete: Delete word forward.
src-rust/crates/tui/src/prompt_input.rs:1813
↓ 2 callersMethoddescription
(&self)
src-rust/crates/commands/src/lib.rs:519
↓ 2 callersFunctiondetect_image_protocol
Detect which image protocol the running terminal supports. Returns: - `ImageProtocol::Kitty` if $TERM contains "kitty" or $TERM_PROGRAM is "WezTerm"
src-rust/crates/tui/src/kitty_image.rs:47
↓ 2 callersMethoddiff_against
Compare this registry against `old` and produce a diff report.
src-rust/crates/plugins/src/registry.rs:235
↓ 2 callersMethoddiff_full
Per-file diff statistics + inline unified diffs between two tree hashes.
src-rust/crates/core/src/snapshot/shadow.rs:88
↓ 2 callersMethoddisable_claude_mds
(mut self, val: bool)
src-rust/crates/core/src/lib.rs:1891
↓ 2 callersMethoddismiss_temporarily
Close without permanent dismiss (Esc key).
src-rust/crates/tui/src/desktop_upsell_startup.rs:120
← previousnext →701–800 of 4,591, ranked by callers