Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ functions
Functions
3,221 in github.com/ChrisFeldmeier/OpenCodeRust
⨍
Functions
3,221
◇
Types & classes
1,115
↓ 1 callers
Function
first_matching_file_in_dir
(dir: &Path, candidates: &[&str])
crates/opencode-session/src/instruction.rs:179
↓ 1 callers
Function
first_user_text_for_message
(session: &Session, message_id: &str)
crates/opencode-session/src/summary.rs:286
↓ 1 callers
Function
flatten_document_symbol
( symbol: &lsp_types::DocumentSymbol, )
crates/opencode-lsp/src/lib.rs:777
↓ 1 callers
Method
flush_pending_snapshot
Flush any pending snapshot that wasn't closed by a `FinishStep` event. When the stream ends abruptly (error, abort, or missing `finish-step`), there
crates/opencode-session/src/llm.rs:745
↓ 1 callers
Method
fork
Fork a session at a specific message
crates/opencode-session/src/session.rs:873
↓ 1 callers
Method
fork_session
( &self, session_id: &str, message_id: Option<&str>, )
crates/opencode-tui/src/api.rs:692
↓ 1 callers
Function
format_error_message
(provider_id: &str, error: &ProviderError)
crates/opencode-provider/src/provider.rs:222
↓ 1 callers
Function
format_hover_result
(hover: lsp_types::Hover)
crates/opencode-tool/src/lsp_tool.rs:365
↓ 1 callers
Function
format_location_result
(label: &str, loc: lsp_types::Location)
crates/opencode-tool/src/lsp_tool.rs:360
↓ 1 callers
Function
format_lsp_placeholder
( operation: &LspOperation, file_path: &str, line: u32, character: u32, )
crates/opencode-tool/src/lsp_tool.rs:388
↓ 1 callers
Function
format_markup
(markup: lsp_types::MarkedString)
crates/opencode-tool/src/lsp_tool.rs:378
↓ 1 callers
Function
format_number
(value: u64)
crates/opencode-tui/src/components/session.rs:1396
↓ 1 callers
Function
format_session_time
(updated_at_ms: i64)
crates/opencode-tui/src/components/dialogs/session_list.rs:357
↓ 1 callers
Function
format_theme_option_label
(theme_id: &str)
crates/opencode-tui/src/app/app.rs:3758
↓ 1 callers
Function
from_models_dev_provider
Transform a models.dev provider into a runtime ProviderState.
crates/opencode-provider/src/bootstrap.rs:1085
↓ 1 callers
Function
generate_agent_response
( prompt: &str, model: Option<String>, agent_name: &str, )
crates/opencode-cli/src/main.rs:5047
↓ 1 callers
Function
generate_diff
(path: &str, old: &str, new: &str)
crates/opencode-tool/src/apply_patch.rs:729
↓ 1 callers
Function
generate_message_title_llm
( text: &str, provider: &dyn Provider, model_id: &str, )
crates/opencode-session/src/summary.rs:302
↓ 1 callers
Function
generate_session_title
(first_user_message: &str)
crates/opencode-session/src/prompt.rs:3151
↓ 1 callers
Function
generate_session_title_llm
Generate a session title using an LLM (matching TS `ensureTitle`). Falls back to `generate_session_title` on any failure.
crates/opencode-session/src/prompt.rs:3165
↓ 1 callers
Function
get_agent
(name: &str)
crates/opencode-tool/src/task.rs:171
↓ 1 callers
Method
get_all_diagnostics
Returns all diagnostics from all files this LSP server has reported on.
crates/opencode-lsp/src/lib.rs:387
↓ 1 callers
Function
get_available_agents
()
crates/opencode-tool/src/task.rs:176
↓ 1 callers
Method
get_color
(&self, theme: &Theme)
crates/opencode-tui/src/components/dialogs/alert.rs:71
↓ 1 callers
Method
get_config
Current merged config (for tests and inspection).
crates/opencode-config/src/loader.rs:27
↓ 1 callers
Method
get_config_providers
(&self)
crates/opencode-tui/src/api.rs:447
↓ 1 callers
Function
get_counter
()
crates/opencode-core/src/id.rs:48
↓ 1 callers
Function
get_disabled_tools
( agent: Option<&AgentInfo>, _load_skills: Option<&Vec<String>>, )
crates/opencode-tool/src/task.rs:216
↓ 1 callers
Function
get_env_key
(provider_id: &str)
crates/opencode-provider/src/auth.rs:184
↓ 1 callers
Function
get_file_locks
()
crates/opencode-tool/src/tool.rs:19
↓ 1 callers
Method
get_formatters
(&self)
crates/opencode-tui/src/api.rs:605
↓ 1 callers
Method
get_icon
(&self)
crates/opencode-tui/src/components/dialogs/alert.rs:80
↓ 1 callers
Method
get_logs
( &self, server_name: &str, )
crates/opencode-server/src/mcp_oauth.rs:444
↓ 1 callers
Function
get_lsp_diagnostics
(path: &Path, ctx: &ToolContext)
crates/opencode-tool/src/write.rs:223
↓ 1 callers
Function
get_lsp_diagnostics_impl
( path: &Path, lsp_registry: Arc<opencode_lsp::LspClientRegistry>, )
crates/opencode-tool/src/write.rs:242
↓ 1 callers
Function
get_lsp_diagnostics_impl_with_meta
( path: &Path, lsp_registry: std::sync::Arc<opencode_lsp::LspClientRegistry>, )
crates/opencode-tool/src/edit/tool.rs:326
↓ 1 callers
Method
get_lsp_servers
(&self)
crates/opencode-tui/src/api.rs:593
↓ 1 callers
Function
get_managed_config_dir
Get the managed config directory for enterprise deployments.
crates/opencode-config/src/loader.rs:533
↓ 1 callers
Method
get_mcp_status
(&self)
crates/opencode-tui/src/api.rs:490
↓ 1 callers
Method
get_messages
(&self, session_id: &str)
crates/opencode-tui/src/api.rs:578
↓ 1 callers
Method
get_model
Get a model by provider ID and model ID, with fuzzy matching on failure.
crates/opencode-provider/src/bootstrap.rs:1533
↓ 1 callers
Function
get_plugin_name
Extract canonical plugin name from a specifier. - For file:// URLs: extracts filename without extension - For npm packages: extracts package name with
crates/opencode-config/src/loader.rs:1215
↓ 1 callers
Method
get_provider
(&self, provider_id: &str)
crates/opencode-provider/src/models.rs:167
↓ 1 callers
Method
get_provider
(&self, provider_id: &str)
crates/opencode-provider/src/provider.rs:358
↓ 1 callers
Function
get_responses_model_config
Determine model capabilities from model ID string. Mirrors the TS `getResponsesModelConfig()`.
crates/opencode-provider/src/responses.rs:169
↓ 1 callers
Method
get_server
(&self, server_name: &str)
crates/opencode-server/src/mcp_oauth.rs:410
↓ 1 callers
Method
get_session
(&self, id: &str)
crates/opencode-server/src/pty.rs:178
↓ 1 callers
Method
get_session
(&self, session_id: &str)
crates/opencode-tui/src/api.rs:280
↓ 1 callers
Method
get_session_status
(&self)
crates/opencode-tui/src/api.rs:330
↓ 1 callers
Function
get_status
(path: &Path)
crates/opencode-util/src/util.rs:244
↓ 1 callers
Method
get_string
(&self, key: &str, default: &str)
crates/opencode-tui/src/context/app_context.rs:412
↓ 1 callers
Method
get_timestamps
(&self)
crates/opencode-tui/src/context/app_context.rs:392
↓ 1 callers
Function
gh_run
(args: &[&str], token: Option<&str>)
crates/opencode-cli/src/main.rs:4846
↓ 1 callers
Function
github_actor
(payload: &serde_json::Value)
crates/opencode-cli/src/main.rs:4172
↓ 1 callers
Function
github_add_reaction
( owner: &str, repo: &str, issue_number: Option<u64>, comment_id: Option<u64>, comment_typ
crates/opencode-cli/src/main.rs:4760
↓ 1 callers
Function
github_assert_write_permission
( owner: &str, repo: &str, actor: &str, token: Option<&str>, )
crates/opencode-cli/src/main.rs:4737
↓ 1 callers
Function
github_checkout_pr_branch
( owner: &str, repo: &str, pr_number: u64, token: Option<&str>, )
crates/opencode-cli/src/main.rs:4929
↓ 1 callers
Function
github_comment_type
(event_name: &str)
crates/opencode-cli/src/main.rs:4164
↓ 1 callers
Function
github_fetch_pr_runtime_info
( owner: &str, repo: &str, pr_number: u64, token: Option<&str>, )
crates/opencode-cli/src/main.rs:4878
↓ 1 callers
Function
github_footer
(owner: &str, repo: &str)
crates/opencode-cli/src/main.rs:4259
↓ 1 callers
Function
github_generate_branch_name
(prefix: &str, issue_number: Option<u64>)
crates/opencode-cli/src/main.rs:4915
↓ 1 callers
Function
github_is_pr_context
(event_name: &str, payload: &serde_json::Value)
crates/opencode-cli/src/main.rs:4195
↓ 1 callers
Function
github_is_user_event
(event_name: &str)
crates/opencode-cli/src/main.rs:4149
↓ 1 callers
Function
github_issue_number
(event_name: &str, payload: &serde_json::Value)
crates/opencode-cli/src/main.rs:4185
↓ 1 callers
Function
github_mentions
()
crates/opencode-cli/src/main.rs:4206
↓ 1 callers
Function
github_push_to_fork
(pr: &GithubPrRuntimeInfo)
crates/opencode-cli/src/main.rs:4984
↓ 1 callers
Function
github_repo_from_env_or_git
()
crates/opencode-cli/src/main.rs:4655
↓ 1 callers
Function
github_repo_from_payload
(payload: &serde_json::Value)
crates/opencode-cli/src/main.rs:4633
↓ 1 callers
Function
glob_md_files_recursive
(dir: &Path, results: &mut Vec<PathBuf>)
crates/opencode-config/src/loader.rs:691
↓ 1 callers
Function
glob_to_regex
(pattern: &str)
crates/opencode-grep/src/search.rs:285
↓ 1 callers
Function
global_config_dir
Return the XDG config directory for opencode (e.g. `~/.config/opencode`).
crates/opencode-session/src/instruction.rs:58
↓ 1 callers
Function
global_files
Build the list of global instruction file paths to probe.
crates/opencode-session/src/instruction.rs:63
↓ 1 callers
Function
global_routes
()
crates/opencode-server/src/routes.rs:3953
↓ 1 callers
Method
goto_definition
( &self, path: &Path, line: u32, character: u32, )
crates/opencode-lsp/src/lib.rs:395
↓ 1 callers
Method
goto_implementation
( &self, path: &Path, line: u32, character: u32, )
crates/opencode-lsp/src/lib.rs:578
↓ 1 callers
Function
handleAuthAuthorize
( id: number, params: { methodIndex: number; inputs?: Record<string, string> }, )
crates/opencode-plugin/host/plugin-host.ts:483
↓ 1 callers
Function
handleAuthCallback
( id: number, params: { code?: string }, )
crates/opencode-plugin/host/plugin-host.ts:516
↓ 1 callers
Function
handleAuthFetch
( id: number, params: { url: string; method: string; headers: Record<string, string>; body?: string }, )
crates/opencode-plugin/host/plugin-host.ts:558
↓ 1 callers
Function
handleAuthFetchStream
( id: number, params: { url: string; method: string; headers: Record<string, string>; body?: string }, )
crates/opencode-plugin/host/plugin-host.ts:591
↓ 1 callers
Function
handleAuthLoad
(id: number)
crates/opencode-plugin/host/plugin-host.ts:535
↓ 1 callers
Function
handleHookInvoke
( id: number, params: { hook: string; input: unknown; output: unknown }, )
crates/opencode-plugin/host/plugin-host.ts:452
↓ 1 callers
Function
handleInitialize
( id: number, params: { pluginPath: string; context: PluginContext }, )
crates/opencode-plugin/host/plugin-host.ts:398
↓ 1 callers
Function
handle_agent_command
(action: AgentCommands)
crates/opencode-cli/src/main.rs:3232
↓ 1 callers
Function
handle_auth_command
(action: AuthCommands)
crates/opencode-cli/src/main.rs:3137
↓ 1 callers
Function
handle_binary_file
( path: &Path, content: &[u8], mime: &str, title: String, )
crates/opencode-tool/src/read.rs:237
↓ 1 callers
Method
handle_click
(&mut self, col: u16, row: u16)
crates/opencode-tui/src/components/session.rs:901
↓ 1 callers
Method
handle_compact_session
(&mut self)
crates/opencode-tui/src/app/app.rs:1962
↓ 1 callers
Method
handle_copy_session
(&mut self)
crates/opencode-tui/src/app/app.rs:2046
↓ 1 callers
Function
handle_db_command
( action: Option<DbCommands>, query: Option<String>, format: DbOutputFormat, )
crates/opencode-cli/src/main.rs:2249
↓ 1 callers
Function
handle_debug_command
(action: DebugCommands)
crates/opencode-cli/src/main.rs:3391
↓ 1 callers
Method
handle_dialog_key
(&mut self, key: KeyEvent)
crates/opencode-tui/src/app/app.rs:1021
↓ 1 callers
Method
handle_fork_session
(&mut self)
crates/opencode-tui/src/app/app.rs:2111
↓ 1 callers
Function
handle_generate_command
()
crates/opencode-cli/src/main.rs:2720
↓ 1 callers
Function
handle_github_command
(action: GithubCommands)
crates/opencode-cli/src/main.rs:5122
↓ 1 callers
Function
handle_mcp_command
(server: String, action: McpCommands)
crates/opencode-cli/src/main.rs:3693
↓ 1 callers
Method
handle_open_timeline
(&mut self)
crates/opencode-tui/src/app/app.rs:2072
↓ 1 callers
Function
handle_pr_command
(number: u32)
crates/opencode-cli/src/main.rs:2401
↓ 1 callers
Function
handle_pty_websocket
(mut socket: WebSocket, sub: PtySubscription, cursor_param: i64)
crates/opencode-server/src/routes.rs:3488
↓ 1 callers
Method
handle_redo
(&mut self)
crates/opencode-tui/src/app/app.rs:2024
↓ 1 callers
Method
handle_rename_backspace
(&mut self)
crates/opencode-tui/src/components/dialogs/session_list.rs:167
← previous
next →
1,001–1,100 of 3,221, ranked by callers