MCPcopy Create free account

hub / github.com/ChrisFeldmeier/OpenCodeRust / functions

Functions3,221 in github.com/ChrisFeldmeier/OpenCodeRust

↓ 1 callersFunctionfirst_matching_file_in_dir
(dir: &Path, candidates: &[&str])
crates/opencode-session/src/instruction.rs:179
↓ 1 callersFunctionfirst_user_text_for_message
(session: &Session, message_id: &str)
crates/opencode-session/src/summary.rs:286
↓ 1 callersFunctionflatten_document_symbol
( symbol: &lsp_types::DocumentSymbol, )
crates/opencode-lsp/src/lib.rs:777
↓ 1 callersMethodflush_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 callersMethodfork
Fork a session at a specific message
crates/opencode-session/src/session.rs:873
↓ 1 callersMethodfork_session
( &self, session_id: &str, message_id: Option<&str>, )
crates/opencode-tui/src/api.rs:692
↓ 1 callersFunctionformat_error_message
(provider_id: &str, error: &ProviderError)
crates/opencode-provider/src/provider.rs:222
↓ 1 callersFunctionformat_hover_result
(hover: lsp_types::Hover)
crates/opencode-tool/src/lsp_tool.rs:365
↓ 1 callersFunctionformat_location_result
(label: &str, loc: lsp_types::Location)
crates/opencode-tool/src/lsp_tool.rs:360
↓ 1 callersFunctionformat_lsp_placeholder
( operation: &LspOperation, file_path: &str, line: u32, character: u32, )
crates/opencode-tool/src/lsp_tool.rs:388
↓ 1 callersFunctionformat_markup
(markup: lsp_types::MarkedString)
crates/opencode-tool/src/lsp_tool.rs:378
↓ 1 callersFunctionformat_number
(value: u64)
crates/opencode-tui/src/components/session.rs:1396
↓ 1 callersFunctionformat_session_time
(updated_at_ms: i64)
crates/opencode-tui/src/components/dialogs/session_list.rs:357
↓ 1 callersFunctionformat_theme_option_label
(theme_id: &str)
crates/opencode-tui/src/app/app.rs:3758
↓ 1 callersFunctionfrom_models_dev_provider
Transform a models.dev provider into a runtime ProviderState.
crates/opencode-provider/src/bootstrap.rs:1085
↓ 1 callersFunctiongenerate_agent_response
( prompt: &str, model: Option<String>, agent_name: &str, )
crates/opencode-cli/src/main.rs:5047
↓ 1 callersFunctiongenerate_diff
(path: &str, old: &str, new: &str)
crates/opencode-tool/src/apply_patch.rs:729
↓ 1 callersFunctiongenerate_message_title_llm
( text: &str, provider: &dyn Provider, model_id: &str, )
crates/opencode-session/src/summary.rs:302
↓ 1 callersFunctiongenerate_session_title
(first_user_message: &str)
crates/opencode-session/src/prompt.rs:3151
↓ 1 callersFunctiongenerate_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 callersFunctionget_agent
(name: &str)
crates/opencode-tool/src/task.rs:171
↓ 1 callersMethodget_all_diagnostics
Returns all diagnostics from all files this LSP server has reported on.
crates/opencode-lsp/src/lib.rs:387
↓ 1 callersFunctionget_available_agents
()
crates/opencode-tool/src/task.rs:176
↓ 1 callersMethodget_color
(&self, theme: &Theme)
crates/opencode-tui/src/components/dialogs/alert.rs:71
↓ 1 callersMethodget_config
Current merged config (for tests and inspection).
crates/opencode-config/src/loader.rs:27
↓ 1 callersMethodget_config_providers
(&self)
crates/opencode-tui/src/api.rs:447
↓ 1 callersFunctionget_counter
()
crates/opencode-core/src/id.rs:48
↓ 1 callersFunctionget_disabled_tools
( agent: Option<&AgentInfo>, _load_skills: Option<&Vec<String>>, )
crates/opencode-tool/src/task.rs:216
↓ 1 callersFunctionget_env_key
(provider_id: &str)
crates/opencode-provider/src/auth.rs:184
↓ 1 callersFunctionget_file_locks
()
crates/opencode-tool/src/tool.rs:19
↓ 1 callersMethodget_formatters
(&self)
crates/opencode-tui/src/api.rs:605
↓ 1 callersMethodget_icon
(&self)
crates/opencode-tui/src/components/dialogs/alert.rs:80
↓ 1 callersMethodget_logs
( &self, server_name: &str, )
crates/opencode-server/src/mcp_oauth.rs:444
↓ 1 callersFunctionget_lsp_diagnostics
(path: &Path, ctx: &ToolContext)
crates/opencode-tool/src/write.rs:223
↓ 1 callersFunctionget_lsp_diagnostics_impl
( path: &Path, lsp_registry: Arc<opencode_lsp::LspClientRegistry>, )
crates/opencode-tool/src/write.rs:242
↓ 1 callersFunctionget_lsp_diagnostics_impl_with_meta
( path: &Path, lsp_registry: std::sync::Arc<opencode_lsp::LspClientRegistry>, )
crates/opencode-tool/src/edit/tool.rs:326
↓ 1 callersMethodget_lsp_servers
(&self)
crates/opencode-tui/src/api.rs:593
↓ 1 callersFunctionget_managed_config_dir
Get the managed config directory for enterprise deployments.
crates/opencode-config/src/loader.rs:533
↓ 1 callersMethodget_mcp_status
(&self)
crates/opencode-tui/src/api.rs:490
↓ 1 callersMethodget_messages
(&self, session_id: &str)
crates/opencode-tui/src/api.rs:578
↓ 1 callersMethodget_model
Get a model by provider ID and model ID, with fuzzy matching on failure.
crates/opencode-provider/src/bootstrap.rs:1533
↓ 1 callersFunctionget_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 callersMethodget_provider
(&self, provider_id: &str)
crates/opencode-provider/src/models.rs:167
↓ 1 callersMethodget_provider
(&self, provider_id: &str)
crates/opencode-provider/src/provider.rs:358
↓ 1 callersFunctionget_responses_model_config
Determine model capabilities from model ID string. Mirrors the TS `getResponsesModelConfig()`.
crates/opencode-provider/src/responses.rs:169
↓ 1 callersMethodget_server
(&self, server_name: &str)
crates/opencode-server/src/mcp_oauth.rs:410
↓ 1 callersMethodget_session
(&self, id: &str)
crates/opencode-server/src/pty.rs:178
↓ 1 callersMethodget_session
(&self, session_id: &str)
crates/opencode-tui/src/api.rs:280
↓ 1 callersMethodget_session_status
(&self)
crates/opencode-tui/src/api.rs:330
↓ 1 callersFunctionget_status
(path: &Path)
crates/opencode-util/src/util.rs:244
↓ 1 callersMethodget_string
(&self, key: &str, default: &str)
crates/opencode-tui/src/context/app_context.rs:412
↓ 1 callersMethodget_timestamps
(&self)
crates/opencode-tui/src/context/app_context.rs:392
↓ 1 callersFunctiongh_run
(args: &[&str], token: Option<&str>)
crates/opencode-cli/src/main.rs:4846
↓ 1 callersFunctiongithub_actor
(payload: &serde_json::Value)
crates/opencode-cli/src/main.rs:4172
↓ 1 callersFunctiongithub_add_reaction
( owner: &str, repo: &str, issue_number: Option<u64>, comment_id: Option<u64>, comment_typ
crates/opencode-cli/src/main.rs:4760
↓ 1 callersFunctiongithub_assert_write_permission
( owner: &str, repo: &str, actor: &str, token: Option<&str>, )
crates/opencode-cli/src/main.rs:4737
↓ 1 callersFunctiongithub_checkout_pr_branch
( owner: &str, repo: &str, pr_number: u64, token: Option<&str>, )
crates/opencode-cli/src/main.rs:4929
↓ 1 callersFunctiongithub_comment_type
(event_name: &str)
crates/opencode-cli/src/main.rs:4164
↓ 1 callersFunctiongithub_fetch_pr_runtime_info
( owner: &str, repo: &str, pr_number: u64, token: Option<&str>, )
crates/opencode-cli/src/main.rs:4878
↓ 1 callersFunctiongithub_footer
(owner: &str, repo: &str)
crates/opencode-cli/src/main.rs:4259
↓ 1 callersFunctiongithub_generate_branch_name
(prefix: &str, issue_number: Option<u64>)
crates/opencode-cli/src/main.rs:4915
↓ 1 callersFunctiongithub_is_pr_context
(event_name: &str, payload: &serde_json::Value)
crates/opencode-cli/src/main.rs:4195
↓ 1 callersFunctiongithub_is_user_event
(event_name: &str)
crates/opencode-cli/src/main.rs:4149
↓ 1 callersFunctiongithub_issue_number
(event_name: &str, payload: &serde_json::Value)
crates/opencode-cli/src/main.rs:4185
↓ 1 callersFunctiongithub_mentions
()
crates/opencode-cli/src/main.rs:4206
↓ 1 callersFunctiongithub_push_to_fork
(pr: &GithubPrRuntimeInfo)
crates/opencode-cli/src/main.rs:4984
↓ 1 callersFunctiongithub_repo_from_env_or_git
()
crates/opencode-cli/src/main.rs:4655
↓ 1 callersFunctiongithub_repo_from_payload
(payload: &serde_json::Value)
crates/opencode-cli/src/main.rs:4633
↓ 1 callersFunctionglob_md_files_recursive
(dir: &Path, results: &mut Vec<PathBuf>)
crates/opencode-config/src/loader.rs:691
↓ 1 callersFunctionglob_to_regex
(pattern: &str)
crates/opencode-grep/src/search.rs:285
↓ 1 callersFunctionglobal_config_dir
Return the XDG config directory for opencode (e.g. `~/.config/opencode`).
crates/opencode-session/src/instruction.rs:58
↓ 1 callersFunctionglobal_files
Build the list of global instruction file paths to probe.
crates/opencode-session/src/instruction.rs:63
↓ 1 callersFunctionglobal_routes
()
crates/opencode-server/src/routes.rs:3953
↓ 1 callersMethodgoto_definition
( &self, path: &Path, line: u32, character: u32, )
crates/opencode-lsp/src/lib.rs:395
↓ 1 callersMethodgoto_implementation
( &self, path: &Path, line: u32, character: u32, )
crates/opencode-lsp/src/lib.rs:578
↓ 1 callersFunctionhandleAuthAuthorize
( id: number, params: { methodIndex: number; inputs?: Record<string, string> }, )
crates/opencode-plugin/host/plugin-host.ts:483
↓ 1 callersFunctionhandleAuthCallback
( id: number, params: { code?: string }, )
crates/opencode-plugin/host/plugin-host.ts:516
↓ 1 callersFunctionhandleAuthFetch
( id: number, params: { url: string; method: string; headers: Record<string, string>; body?: string }, )
crates/opencode-plugin/host/plugin-host.ts:558
↓ 1 callersFunctionhandleAuthFetchStream
( id: number, params: { url: string; method: string; headers: Record<string, string>; body?: string }, )
crates/opencode-plugin/host/plugin-host.ts:591
↓ 1 callersFunctionhandleAuthLoad
(id: number)
crates/opencode-plugin/host/plugin-host.ts:535
↓ 1 callersFunctionhandleHookInvoke
( id: number, params: { hook: string; input: unknown; output: unknown }, )
crates/opencode-plugin/host/plugin-host.ts:452
↓ 1 callersFunctionhandleInitialize
( id: number, params: { pluginPath: string; context: PluginContext }, )
crates/opencode-plugin/host/plugin-host.ts:398
↓ 1 callersFunctionhandle_agent_command
(action: AgentCommands)
crates/opencode-cli/src/main.rs:3232
↓ 1 callersFunctionhandle_auth_command
(action: AuthCommands)
crates/opencode-cli/src/main.rs:3137
↓ 1 callersFunctionhandle_binary_file
( path: &Path, content: &[u8], mime: &str, title: String, )
crates/opencode-tool/src/read.rs:237
↓ 1 callersMethodhandle_click
(&mut self, col: u16, row: u16)
crates/opencode-tui/src/components/session.rs:901
↓ 1 callersMethodhandle_compact_session
(&mut self)
crates/opencode-tui/src/app/app.rs:1962
↓ 1 callersMethodhandle_copy_session
(&mut self)
crates/opencode-tui/src/app/app.rs:2046
↓ 1 callersFunctionhandle_db_command
( action: Option<DbCommands>, query: Option<String>, format: DbOutputFormat, )
crates/opencode-cli/src/main.rs:2249
↓ 1 callersFunctionhandle_debug_command
(action: DebugCommands)
crates/opencode-cli/src/main.rs:3391
↓ 1 callersMethodhandle_dialog_key
(&mut self, key: KeyEvent)
crates/opencode-tui/src/app/app.rs:1021
↓ 1 callersMethodhandle_fork_session
(&mut self)
crates/opencode-tui/src/app/app.rs:2111
↓ 1 callersFunctionhandle_generate_command
()
crates/opencode-cli/src/main.rs:2720
↓ 1 callersFunctionhandle_github_command
(action: GithubCommands)
crates/opencode-cli/src/main.rs:5122
↓ 1 callersFunctionhandle_mcp_command
(server: String, action: McpCommands)
crates/opencode-cli/src/main.rs:3693
↓ 1 callersMethodhandle_open_timeline
(&mut self)
crates/opencode-tui/src/app/app.rs:2072
↓ 1 callersFunctionhandle_pr_command
(number: u32)
crates/opencode-cli/src/main.rs:2401
↓ 1 callersFunctionhandle_pty_websocket
(mut socket: WebSocket, sub: PtySubscription, cursor_param: i64)
crates/opencode-server/src/routes.rs:3488
↓ 1 callersMethodhandle_redo
(&mut self)
crates/opencode-tui/src/app/app.rs:2024
↓ 1 callersMethodhandle_rename_backspace
(&mut self)
crates/opencode-tui/src/components/dialogs/session_list.rs:167
← previousnext →1,001–1,100 of 3,221, ranked by callers