MCPcopy Create free account

hub / github.com/ChrisFeldmeier/OpenCodeRust / functions

Functions3,221 in github.com/ChrisFeldmeier/OpenCodeRust

↓ 1 callersFunctionload_plugin_auth_store
(server_url: &str, auth_manager: Arc<AuthManager>)
crates/opencode-server/src/server.rs:343
↓ 1 callersFunctionload_plugin_auth_store
(config: &opencode_config::Config)
crates/opencode-cli/src/main.rs:1769
↓ 1 callersFunctionload_plugins_from_dir
Load plugin paths from .ts/.js files in {plugin,plugins}/*.{ts,js}
crates/opencode-config/src/loader.rs:659
↓ 1 callersFunctionload_session_diffs
Load persisted session-level diff results from session metadata.
crates/opencode-session/src/summary.rs:249
↓ 1 callersFunctionload_stash
(path: &PathBuf)
crates/opencode-tui/src/components/prompt.rs:1400
↓ 1 callersMethodload_stash
(&mut self, index: usize)
crates/opencode-tui/src/components/prompt.rs:636
↓ 1 callersFunctionlocal_database_path
()
crates/opencode-cli/src/main.rs:2242
↓ 1 callersFunctionlocal_shell_action_from_input
(input: &Value)
crates/opencode-provider/src/responses_convert.rs:387
↓ 1 callersFunctionlongest_common_substring_len
Length of the longest common substring between two strings.
crates/opencode-provider/src/bootstrap.rs:2108
↓ 1 callersFunctionlooks_like_snapshot_hash
(value: &str)
crates/opencode-tui/src/components/revert_card.rs:184
↓ 1 callersMethodlookup_symbol_end_line
(&self, file_path: &Path, start_line: usize)
crates/opencode-session/src/prompt.rs:560
↓ 1 callersFunctionmain
()
crates/opencode-plugin/host/plugin-host.ts:659
↓ 1 callersFunctionmake_glob_pattern
(parent_dir: &str)
crates/opencode-tool/src/external_directory.rs:89
↓ 1 callersFunctionmap_api_run_status
(status: &crate::api::SessionStatusInfo)
crates/opencode-tui/src/app/app.rs:3532
↓ 1 callersFunctionmap_loaded_agent_mode
(mode: LoadedAgentMode)
crates/opencode-agent/src/agent.rs:802
↓ 1 callersFunctionmap_mcp_status
(server: &McpStatusInfo)
crates/opencode-tui/src/app/app.rs:3521
↓ 1 callersFunctionmap_tui_command
(command: &str)
crates/opencode-server/src/routes.rs:3824
↓ 1 callersMethodmatch_key
(&self, name: &str, code: KeyCode, modifiers: KeyModifiers)
crates/opencode-tui/src/context/keybind.rs:212
↓ 1 callersFunctionmax_tokens_for_variant
(default_max_tokens: u64, variant: Option<&str>)
crates/opencode-server/src/routes.rs:2240
↓ 1 callersMethodmaybe_reset_interrupt_confirmation
(&mut self)
crates/opencode-tui/src/components/prompt.rs:1060
↓ 1 callersFunctionmaybe_share_remote_session
( client: &reqwest::Client, base_url: &str, session_id: &str, share_requested: bool, )
crates/opencode-cli/src/main.rs:1138
↓ 1 callersMethodmcp_name
(&self)
crates/opencode-mcp/src/oauth.rs:354
↓ 1 callersFunctionmcp_routes
()
crates/opencode-server/src/routes.rs:2485
↓ 1 callersMethodmerge
(a: &SessionSummaryData, b: &SessionSummaryData)
crates/opencode-session/src/summary.rs:543
↓ 1 callersMethodmerge_config
(&mut self, provider_id: &str, options: HashMap<String, serde_json::Value>)
crates/opencode-provider/src/provider.rs:352
↓ 1 callersFunctionmerge_json_value
(target: &mut serde_json::Value, source: serde_json::Value)
crates/opencode-config/src/schema.rs:734
↓ 1 callersFunctionmerge_json_value
(target: &mut serde_json::Value, source: serde_json::Value)
crates/opencode-agent/src/agent.rs:825
↓ 1 callersFunctionmerge_string_maps
Merge two String->String maps, with `overlay` values taking precedence.
crates/opencode-provider/src/bootstrap.rs:1997
↓ 1 callersFunctionmessage_role_name
(role: &opencode_session::MessageRole)
crates/opencode-server/src/routes.rs:779
↓ 1 callersFunctionmessage_text
(message: &Message)
crates/opencode-provider/src/responses_convert.rs:294
↓ 1 callersFunctionmessage_to_model
(info: &MessageInfo, parts: &[Part])
crates/opencode-session/src/llm.rs:1541
↓ 1 callersMethodmessage_updates
(&self)
crates/opencode-session/src/compaction.rs:1085
↓ 1 callersMethodmessages
(&self, _session_id: &str)
crates/opencode-session/src/compaction.rs:1095
↓ 1 callersFunctionmessages_to_prune_format
Convert `MessageWithParts` to the `MessageForPrune` format used by the prune algorithm.
crates/opencode-session/src/compaction.rs:938
↓ 1 callersMethodmethods
(loader: &PluginLoader)
crates/opencode-server/src/oauth.rs:24
↓ 1 callersFunctionmime_to_modality
(mime: &str)
crates/opencode-provider/src/transform.rs:463
↓ 1 callersFunctionmodel_to_bootstrap
(id: &str, model: &opencode_config::ModelConfig)
crates/opencode-server/src/server.rs:287
↓ 1 callersFunctionmodel_to_bootstrap
(id: &str, model: &opencode_config::ModelConfig)
crates/opencode-cli/src/main.rs:1730
↓ 1 callersMethodmodels
(&self)
crates/opencode-provider/src/bootstrap.rs:2387
↓ 1 callersMethodname
(&self)
crates/opencode-provider/src/bootstrap.rs:2383
↓ 1 callersMethodnext_id
(&self)
crates/opencode-lsp/src/lib.rs:273
↓ 1 callersFunctionnormalizeDomain
* Minimal bundled auth plugin for GitHub Copilot. * * Supports standard and enterprise login methods through the same callback flow. * The callback
crates/opencode-plugin/builtin/copilot-auth.ts:8
↓ 1 callersFunctionnormalize_for_anthropic
(messages: &mut Vec<Message>)
crates/opencode-provider/src/transform.rs:342
↓ 1 callersFunctionnormalize_github_event_payload
(raw: serde_json::Value)
crates/opencode-cli/src/main.rs:4215
↓ 1 callersFunctionnormalize_hook_key
(key: &str)
crates/opencode-plugin/src/subprocess/loader.rs:553
↓ 1 callersFunctionnormalize_import_payload
(payload: SessionImportPayload)
crates/opencode-cli/src/main.rs:3928
↓ 1 callersFunctionnormalize_interleaved_field
For models with interleaved thinking that use a specific field (reasoning_content or reasoning_details), move reasoning parts from content into provid
crates/opencode-provider/src/transform.rs:303
↓ 1 callersFunctionnormalize_language_token
(language: &str)
crates/opencode-tui/src/components/markdown/syntax.rs:70
↓ 1 callersFunctionnormalize_messages
( messages: &mut Vec<Message>, provider_type: ProviderType, model_id: &str, )
crates/opencode-provider/src/transform.rs:264
↓ 1 callersMethodopen_session_export_dialog
(&mut self)
crates/opencode-tui/src/app/app.rs:1867
↓ 1 callersMethodopen_session_rename_dialog
(&mut self)
crates/opencode-tui/src/app/app.rs:1848
↓ 1 callersFunctionopenai_reasoning_effort
(model_id: &str, variant: Option<&str>)
crates/opencode-provider/src/azure.rs:219
↓ 1 callersMethodoutgoing_calls
( &self, path: &Path, line: u32, character: u32, )
crates/opencode-lsp/src/lib.rs:744
↓ 1 callersMethodparameters
(&self)
crates/opencode-tool/src/ls.rs:74
↓ 1 callersFunctionparse_anthropic_sse
(data: &str)
crates/opencode-provider/src/stream.rs:270
↓ 1 callersFunctionparse_auth_info_payload
(payload: serde_json::Value)
crates/opencode-server/src/routes.rs:4514
↓ 1 callersFunctionparse_bash_command
(command: &str)
crates/opencode-tool/src/bash.rs:338
↓ 1 callersFunctionparse_bedrock_stream
(text: &str)
crates/opencode-provider/src/bedrock.rs:495
↓ 1 callersFunctionparse_bool_env
(value: &str)
crates/opencode-cli/src/main.rs:957
↓ 1 callersFunctionparse_command_and_args
( command: Option<McpCommandInput>, extra_args: Vec<String>, )
crates/opencode-server/src/routes.rs:2755
↓ 1 callersFunctionparse_copilot_sse
(data: &str)
crates/opencode-provider/src/github_copilot.rs:687
↓ 1 callersMethodparse_diff
(&mut self, content: &str)
crates/opencode-tui/src/components/diff.rs:58
↓ 1 callersFunctionparse_gitlab_sse
(data: &str)
crates/opencode-provider/src/gitlab.rs:325
↓ 1 callersFunctionparse_google_sse
(data: &str)
crates/opencode-provider/src/google.rs:341
↓ 1 callersFunctionparse_heading
(line: &str)
crates/opencode-tui/src/components/markdown/parser.rs:135
↓ 1 callersFunctionparse_inline_map
Parse an inline YAML flow mapping like `{a: 1, b: true}` into a JSON object.
crates/opencode-config/src/loader.rs:871
↓ 1 callersFunctionparse_list
( lines: &mut std::iter::Peekable<std::str::Lines>, first_line: &str, _ordered: bool, )
crates/opencode-tui/src/components/markdown/parser.rs:148
↓ 1 callersFunctionparse_model_patch
(patch_text: &str)
crates/opencode-tool/src/apply_patch.rs:456
↓ 1 callersFunctionparse_model_ref
(raw: Option<&str>)
crates/opencode-tool/src/task.rs:230
↓ 1 callersMethodparse_model_string
(raw: &str)
crates/opencode-session/src/prompt.rs:1702
↓ 1 callersFunctionparse_multi_file_patch
(patch_text: &str)
crates/opencode-tool/src/apply_patch.rs:289
↓ 1 callersFunctionparse_npm_spec
Parse "pkg@version" into (name, version). Handles scoped packages like "@scope/pkg@1.0".
crates/opencode-plugin/src/subprocess/loader.rs:334
↓ 1 callersFunctionparse_runtime_from_loaded_config
( config: LoadedMcpServerConfig, )
crates/opencode-server/src/routes.rs:2794
↓ 1 callersFunctionparse_runtime_from_request
(config: McpConfigInput)
crates/opencode-server/src/routes.rs:2723
↓ 1 callersFunctionparse_share_slug
(url: &str)
crates/opencode-cli/src/main.rs:3951
↓ 1 callersFunctionparse_sse_response
(text: &str)
crates/opencode-tool/src/websearch.rs:233
↓ 1 callersFunctionparse_tip_highlights
(tip: &str, theme: &crate::theme::Theme)
crates/opencode-tui/src/components/home.rs:285
↓ 1 callersFunctionparse_vercel_sse
(data: &str)
crates/opencode-provider/src/vercel.rs:328
↓ 1 callersFunctionparse_yaml_list_lines
Parse YAML list lines (lines starting with "- ") at the given indent level. Returns the list of values and the next unconsumed line index.
crates/opencode-config/src/loader.rs:1032
↓ 1 callersFunctionparse_yaml_mapping_lines
Parse YAML mapping lines starting at `start` index with expected `base_indent`. Returns the parsed map and the index of the next unconsumed line.
crates/opencode-config/src/loader.rs:919
↓ 1 callersFunctionpart_type_name
(part_type: &opencode_session::PartType)
crates/opencode-server/src/routes.rs:788
↓ 1 callersMethodpart_updates
(&self)
crates/opencode-session/src/compaction.rs:1089
↓ 1 callersMethodpending_count
(&self)
crates/opencode-tui/src/components/permission.rs:155
↓ 1 callersFunctionpermission_routes
()
crates/opencode-server/src/routes.rs:3188
↓ 1 callersFunctionpermission_rules_from_config
(permission: &LoadedPermissionConfig)
crates/opencode-agent/src/agent.rs:764
↓ 1 callersFunctionpermission_rules_from_tools
(tool_overrides: &HashMap<String, bool>)
crates/opencode-agent/src/agent.rs:787
↓ 1 callersFunctionplugin_auth_routes
()
crates/opencode-server/src/routes.rs:4546
↓ 1 callersFunctionprepare_responses_tools
Prepare tools for the OpenAI Responses API. Mirrors TS `prepareResponsesTools()`.
crates/opencode-provider/src/tools.rs:411
↓ 1 callersFunctionprocess_command_node
(node: tree_sitter::Node, source: &[u8], result: &mut ParsedCommand)
crates/opencode-tool/src/bash.rs:391
↓ 1 callersFunctionprocess_file_patch
( base_path: &Path, file_patch: &FilePatch, )
crates/opencode-tool/src/apply_patch.rs:553
↓ 1 callersMethodprocess_stream
Process a single stream attempt.
crates/opencode-session/src/llm.rs:386
↓ 1 callersFunctionproject_routes
()
crates/opencode-server/src/routes.rs:3255
↓ 1 callersFunctionprompt_from_github_context
( event_name: &str, payload: &serde_json::Value, )
crates/opencode-cli/src/main.rs:4526
↓ 1 callersFunctionprompt_state_dir
()
crates/opencode-tui/src/components/prompt.rs:1367
↓ 1 callersFunctionprompt_yes_no
(question: &str)
crates/opencode-cli/src/main.rs:2625
↓ 1 callersFunctionprovider_routes
()
crates/opencode-server/src/routes.rs:2141
↓ 1 callersFunctionprovider_to_bootstrap
(provider: &opencode_config::ProviderConfig)
crates/opencode-server/src/server.rs:255
↓ 1 callersFunctionprovider_to_bootstrap
(provider: &opencode_config::ProviderConfig)
crates/opencode-cli/src/main.rs:1698
↓ 1 callersFunctionprune_worktrees
(repo_path: &Path)
crates/opencode-server/src/worktree.rs:192
↓ 1 callersFunctionpty_routes
()
crates/opencode-server/src/routes.rs:3357
← previousnext →1,201–1,300 of 3,221, ranked by callers