MCPcopy Create free account

hub / github.com/Kuberwastaken/claurst / functions

Functions4,591 in github.com/Kuberwastaken/claurst

↓ 3 callersFunctionopen_with_system
(target: &str)
src-rust/crates/commands/src/lib.rs:323
↓ 3 callersMethodopen_with_title
( &mut self, title: impl Into<String>, current_model: &str, effort: EffortLeve
src-rust/crates/tui/src/model_picker.rs:538
↓ 3 callersFunctionopenrouter
OpenRouter — unified API gateway to many models. Reads `OPENROUTER_API_KEY`.
src-rust/crates/api/src/providers/openai_compat_providers.rs:288
↓ 3 callersMethodparse_error_response
Parse a Google error JSON body and return the appropriate ProviderError.
src-rust/crates/api/src/providers/google.rs:484
↓ 3 callersFunctionparse_frontmatter
Strip YAML frontmatter (--- ... ---) from content and parse it. Returns (frontmatter, body_without_frontmatter).
src-rust/crates/core/src/claudemd.rs:83
↓ 3 callersFunctionparse_key
(s: &str)
src-rust/crates/tools/src/computer_use.rs:546
↓ 3 callersFunctionparse_server_message
( server_name: &str, data: &str, )
src-rust/crates/mcp/src/rmcp_backend.rs:429
↓ 3 callersFunctionparse_snapshot_str
(s: &str)
src-rust/crates/api/src/model_registry.rs:448
↓ 3 callersFunctionparse_unified_diff
Parse a unified diff string into a list of `FilePatch` objects.
src-rust/crates/tools/src/apply_patch.rs:51
↓ 3 callersFunctionpkce_challenge
Derive a PKCE code challenge from a verifier (S256 method).
src-rust/crates/mcp/src/oauth.rs:367
↓ 3 callersMethodpop_char
(&mut self, history: &[String])
src-rust/crates/tui/src/overlays.rs:891
↓ 3 callersMethodpop_filter_char
(&mut self)
src-rust/crates/tui/src/overlays.rs:335
↓ 3 callersMethodprev_field
Move focus to the previous field.
src-rust/crates/tui/src/elicitation_dialog.rs:239
↓ 3 callersFunctionprimary_api_key_env_var_for_provider
(provider_id: &str)
src-rust/crates/core/src/lib.rs:704
↓ 3 callersFunctionprovider_for_id
(provider_id: &str)
src-rust/crates/api/src/providers/openai_compat_providers.rs:14
↓ 3 callersFunctionprovider_from_key
(provider_id: &str, key: String)
src-rust/crates/api/src/registry.rs:59
↓ 3 callersFunctionpush_detail_row
(lines: &mut Vec<Line<'static>>, key: &str, value: &str)
src-rust/crates/tui/src/hooks_config_menu.rs:538
↓ 3 callersFunctionpush_list_row
(lines: &mut Vec<Line<'static>>, label: &str, badge: &str, selected: bool)
src-rust/crates/tui/src/hooks_config_menu.rs:519
↓ 3 callersMethodpush_rename_char
Append a character to the rename input buffer.
src-rust/crates/tui/src/session_browser.rs:118
↓ 3 callersFunctionreasoning_heading
(text: &str)
src-rust/crates/tui/src/transcript_turn.rs:53
↓ 3 callersMethodrecompute_matches
(&mut self)
src-rust/crates/tui/src/overlays.rs:823
↓ 3 callersMethodrecord_shown
Record that `tip_id` was shown during `session_num`.
src-rust/crates/core/src/tips.rs:260
↓ 3 callersMethodrecord_turn
Record one completed turn: increment turns_used, add elapsed seconds.
src-rust/crates/core/src/goal.rs:283
↓ 3 callersMethodrefilter
(&mut self)
src-rust/crates/tui/src/dialog_select.rs:161
↓ 3 callersMethodregister
Register a new task. Returns the assigned task ID.
src-rust/crates/core/src/lib.rs:4000
↓ 3 callersFunctionremove_empty_messages
(messages: &[Message])
src-rust/crates/api/src/providers/message_normalization.rs:3
↓ 3 callersMethodrender
(&self, area: Rect, buf: &mut Buffer, _selected: bool)
src-rust/crates/tui/src/render.rs:355
↓ 3 callersFunctionrender_context_viz
( frame: &mut Frame, state: &ContextVizState, area: Rect, context_used: u64, context_
src-rust/crates/tui/src/context_viz.rs:46
↓ 3 callersFunctionrender_desktop_upsell_startup
Render the desktop upsell startup dialog as a centered modal.
src-rust/crates/tui/src/desktop_upsell_startup.rs:135
↓ 3 callersFunctionrender_diff_dialog
Render the diff dialog overlay.
src-rust/crates/tui/src/diff_viewer.rs:541
↓ 3 callersFunctionrender_elicitation_dialog
Render the elicitation dialog as a centered modal overlay.
src-rust/crates/tui/src/elicitation_dialog.rs:352
↓ 3 callersFunctionrender_export_dialog
(frame: &mut Frame, state: &ExportDialogState, area: Rect)
src-rust/crates/tui/src/export_dialog.rs:59
↓ 3 callersFunctionrender_file_read_result
Render a file-read tool result: `Read N lines` summary.
src-rust/crates/tui/src/messages/mod.rs:1082
↓ 3 callersFunctionrender_image
Attempt to render `source` as an inline image. If an image protocol is available and the source carries base64 data, the appropriate escape sequence
src-rust/crates/tui/src/kitty_image.rs:96
↓ 3 callersFunctionrender_memory_update_notification
Render the memory update notification into `area`.
src-rust/crates/tui/src/memory_update_notification.rs:130
↓ 3 callersFunctionrender_model_picker
Render the model picker overlay directly into `buf`. Draws a centred modal (≈70 wide × ≈22 tall) with: - Fast-mode notice when fast mode is active -
src-rust/crates/tui/src/model_picker.rs:812
↓ 3 callersFunctionrender_overage_upsell
Render the overage credit upsell banner into `area`.
src-rust/crates/tui/src/overage_upsell.rs:64
↓ 3 callersFunctionrender_session_browser
Render the session browser overlay directly into `buf`. Draws a centred modal (≈70 wide × ≈20 tall) with: - A scrollable list of sessions (id, title,
src-rust/crates/tui/src/session_browser.rs:213
↓ 3 callersFunctionrender_session_html
Render the session as a complete, standalone HTML document.
src-rust/crates/core/src/share_export/mod.rs:53
↓ 3 callersFunctionrender_thinking_block
Render a thinking block (collapsible - show header only when collapsed).
src-rust/crates/tui/src/messages/mod.rs:1384
↓ 3 callersFunctionrender_to_string
(state: &FileInjectionDialogState)
src-rust/crates/tui/src/file_injection_dialog.rs:368
↓ 3 callersFunctionrender_transcript_live_text
(text: &str, width: u16)
src-rust/crates/tui/src/messages/mod.rs:249
↓ 3 callersFunctionrender_transcript_reasoning_block
( text: &str, expanded: bool, width: u16, )
src-rust/crates/tui/src/messages/mod.rs:535
↓ 3 callersFunctionrender_voice_mode_notice
Render the voice mode availability notice.
src-rust/crates/tui/src/voice_mode_notice.rs:68
↓ 3 callersMethodreplace_text
Replace the full text buffer and move the cursor to the end.
src-rust/crates/tui/src/prompt_input.rs:2675
↓ 3 callersMethodresolve_anthropic_api_key
(&self)
src-rust/crates/core/src/lib.rs:1344
↓ 3 callersMethodresolve_provider_api_base
(&self, provider_id: &str)
src-rust/crates/core/src/lib.rs:1442
↓ 3 callersFunctionrestore_terminal
Restore the terminal to its original state.
src-rust/crates/tui/src/lib.rs:278
↓ 3 callersMethodrevert_one
(&self, hash: &str, abs: &Path, rel: &str)
src-rust/crates/core/src/snapshot/shadow.rs:251
↓ 3 callersFunctionrisk_explanation
(level: PsRiskLevel, command: &str)
src-rust/crates/tools/src/powershell.rs:56
↓ 3 callersFunctionrun_hooks
Run all hooks registered for the given event. Returns the first blocking result if any hook blocks, otherwise `Allowed`.
src-rust/crates/core/src/lib.rs:3460
↓ 3 callersFunctionrun_oauth_flow_with_label
Same as [`run_oauth_flow`] but lets the caller supply a label for the newly registered profile.
src-rust/crates/cli/src/codex_oauth_flow.rs:73
↓ 3 callersFunctionrun_oauth_login_flow_with_label
Same as [`run_oauth_login_flow`] but lets the caller supply a human-friendly label for the new profile (e.g. "work"). When `label` is `None` the profi
src-rust/crates/cli/src/oauth_flow.rs:81
↓ 3 callersFunctionrun_reader
Spawn the reader loop. Inbound requests and notifications are forwarded to `tx`. Responses are matched against `connection.pending` internally. The fu
src-rust/crates/acp/src/connection.rs:182
↓ 3 callersFunctionsample_spinner_verb
Select a random spinner verb.
src-rust/crates/core/src/spinner.rs:44
↓ 3 callersFunctionsamples_to_wav_bytes
Encode mono 32-bit float PCM samples as a 16-bit mono WAV file. The returned byte vector can be POSTed directly to the Whisper API as `audio/wav`.
src-rust/crates/tui/src/voice_capture.rs:176
↓ 3 callersFunctionsanitize_name
Sanitize a team name to a safe directory component.
src-rust/crates/tools/src/team_tool.rs:118
↓ 3 callersMethodsave
Persist the registry to disk. Best-effort but propagates I/O errors.
src-rust/crates/core/src/accounts.rs:121
↓ 3 callersMethodsave_and_register
Save these tokens, register/refresh a profile in the account registry, and mark it active. Returns the profile id used. If `label` is None, derives t
src-rust/crates/core/src/lib.rs:3674
↓ 3 callersFunctionsave_codex_tokens_and_register
Save Codex OAuth tokens, registering and activating a profile. Returns the profile id. If a profile with a matching account_id already exists, reuses
src-rust/crates/core/src/oauth_config.rs:452
↓ 3 callersMethodsearch_text
(&self)
src-rust/crates/tui/src/render.rs:359
↓ 3 callersFunctionsection_cache
()
src-rust/crates/core/src/system_prompt.rs:24
↓ 3 callersMethodselect_next
Move selection down one row, wrapping to the start.
src-rust/crates/tui/src/session_browser.rs:96
↓ 3 callersMethodselect_next
Move the cursor down.
src-rust/crates/tui/src/desktop_upsell_startup.rs:95
↓ 3 callersMethodselect_next
(&mut self)
src-rust/crates/tui/src/overlays.rs:909
↓ 3 callersMethodselect_prev
(&mut self)
src-rust/crates/tui/src/overlays.rs:897
↓ 3 callersMethodselected
Get the currently selected item (if any).
src-rust/crates/tui/src/dialog_select.rs:118
↓ 3 callersMethodselected_text_mut
(&mut self)
src-rust/crates/tui/src/agents_view.rs:200
↓ 3 callersFunctionsend_session_update
( connection: &Arc<Connection>, session_id: &acp::SessionId, update: acp::SessionUpdate, )
src-rust/crates/acp/src/prompt.rs:282
↓ 3 callersFunctionsend_text_chunk
( connection: &Arc<Connection>, session_id: &acp::SessionId, text: &str, is_thought: bool, )
src-rust/crates/acp/src/prompt.rs:267
↓ 3 callersMethodset_mark
Set mark `name` at the current cursor position.
src-rust/crates/tui/src/prompt_input.rs:2451
↓ 3 callersMethodset_models
Replace the model list with dynamically loaded entries. Called by the app event loop when the background fetch completes. Resets `loading_models` and
src-rust/crates/tui/src/model_picker.rs:685
↓ 3 callersFunctionset_terminal_title
Set the terminal window title via OSC escape sequence.
src-rust/crates/tui/src/lib.rs:291
↓ 3 callersFunctionsetup_terminal
Set up the terminal for TUI mode (raw mode + alternate screen + mouse capture). Also installs a panic hook that restores the terminal before printing
src-rust/crates/tui/src/lib.rs:217
↓ 3 callersMethodshutdown
Gracefully shut down the server.
src-rust/crates/core/src/lsp.rs:602
↓ 3 callersMethodsign_request
( &self, method: &str, url_str: &str, body: &str, date: &chrono::
src-rust/crates/api/src/providers/bedrock.rs:120
↓ 3 callersFunctionsort_keys_deep
Recursively sort all object keys (mirrors `sortKeysDeep` in TypeScript).
src-rust/crates/core/src/remote_settings.rs:366
↓ 3 callersMethodstage
(&self)
src-rust/crates/core/src/snapshot/shadow.rs:376
↓ 3 callersMethodstatus_badge
Return a styled status badge `Span` suitable for the status bar. Returns `None` when the state should not be shown (Disconnected).
src-rust/crates/tui/src/bridge_state.rs:35
↓ 3 callersFunctionstop_hooks_with_full_behavior
Spawn all `Stop` hooks in fire-and-forget background tasks. Stop hooks are non-blocking by design: the caller does not wait for them. Returns an empt
src-rust/crates/query/src/lib.rs:580
↓ 3 callersFunctionstripped_model_for_provider
(provider_id: &str, model_id: &'a str)
src-rust/crates/commands/src/lib.rs:124
↓ 3 callersMethodsubmit
Validate all fields and, if valid, submit the form. Returns `true` if the form was submitted, `false` if validation failed.
src-rust/crates/tui/src/elicitation_dialog.rs:216
↓ 3 callersFunctionsubstitute_env_vars
Replace `{env:VARNAME}` patterns in a string with environment variable values. Missing variables are replaced with an empty string.
src-rust/crates/core/src/lib.rs:1777
↓ 3 callersFunctionsummarise_head
Summarise `messages[..split_at]` using the Anthropic API using the carefully crafted compaction prompt from TypeScript prompt.ts. Returns a new conver
src-rust/crates/query/src/compact.rs:535
↓ 3 callersMethodswitch_to
Switch the active profile for a provider. Returns `Err` if the id does not exist.
src-rust/crates/core/src/accounts.rs:182
↓ 3 callersMethodsync_turn_metadata_to_messages
(&mut self)
src-rust/crates/tui/src/app.rs:1548
↓ 3 callersMethodtake_values
Consume the dialog state, returning every non-empty `(provider_id, key)` pair the user entered.
src-rust/crates/tui/src/free_mode_dialog.rs:166
↓ 3 callersFunctionteam_dir
(team_name: &str)
src-rust/crates/tools/src/team_tool.rs:113
↓ 3 callersFunctiontest_config
()
src-rust/crates/query/src/managed_orchestrator.rs:65
↓ 3 callersMethodthinking
(mut self, config: ThinkingConfig)
src-rust/crates/api/src/lib.rs:1275
↓ 3 callersMethodto_definition
Produce a `ToolDefinition` suitable for sending to the API.
src-rust/crates/tools/src/lib.rs:515
↓ 3 callersMethodtoggle_error_detail
Toggle full error detail for the currently selected server.
src-rust/crates/tui/src/mcp_view.rs:130
↓ 3 callersMethodtools
(mut self, tools: Vec<ApiToolDefinition>)
src-rust/crates/api/src/lib.rs:1250
↓ 3 callersMethodtotal_cost_usd
(&self)
src-rust/crates/core/src/analytics.rs:38
↓ 3 callersMethodtotals
(&self)
src-rust/crates/commands/src/stats.rs:504
↓ 3 callersFunctiontruncate
(s: &str, max: usize)
src-rust/crates/commands/src/stats.rs:618
↓ 3 callersFunctiontruncate_display
Truncate `s` to fit within `max_width` display columns, appending `…` if cut.
src-rust/crates/tui/src/session_browser.rs:185
↓ 3 callersFunctiontruncate_entrypoint_content
Truncate `MEMORY.md` content to `MAX_ENTRYPOINT_LINES` lines and `MAX_ENTRYPOINT_BYTES` bytes, appending a warning when either cap fires. Mirrors `tr
src-rust/crates/core/src/memdir.rs:423
↓ 3 callersFunctiontry_copy_to_clipboard
Attempt to copy text to the system clipboard using platform CLI tools. Returns true if successful.
src-rust/crates/tui/src/app.rs:490
↓ 3 callersMethodtry_unlock
Returns `true` if `content` contains the unlock signal and the gate was opened as a result (or was already open).
src-rust/crates/query/src/coordinator.rs:120
← previousnext →601–700 of 4,591, ranked by callers