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
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/opencode-types/src/todo.rs:39
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/opencode-tui/src/router.rs:18
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/opencode-tui/src/context/keybind.rs:99
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/opencode-tool/src/tool.rs:677
Function
fn
()
crates/opencode-plugin/host/plugin-host.ts:243
Function
footer
(area: Rect, height: u16)
crates/opencode-tui/src/ui/layout.rs:39
Method
for_model
Select the appropriate system prompt based on model API ID. TS: `SystemPrompt.provider(model)` in session/system.ts Matching rules (in priority order
crates/opencode-session/src/system.rs:52
Function
fork_session
( State(state): State<Arc<ServerState>>, Path(id): Path<String>, Json(req): Json<ForkSessionReques
crates/opencode-server/src/routes.rs:492
Function
format_bytes
(bytes: u64)
crates/opencode-util/src/util.rs:140
Function
format_duration
(secs: u64)
crates/opencode-util/src/util.rs:100
Function
format_number
(n: u64)
crates/opencode-util/src/util.rs:156
Function
format_number
(value: u64)
crates/opencode-tui/src/components/sidebar.rs:648
Function
format_tokens
(n: u64)
crates/opencode-cli/src/main.rs:2947
Method
from
(info: McpServerInfoStruct)
crates/opencode-server/src/routes.rs:2514
Method
from
(_: ())
crates/opencode-plugin/src/lib.rs:26
Method
from
(e: RpcError)
crates/opencode-plugin/src/subprocess/client.rs:46
Method
from
(d: SessionFileDiff)
crates/opencode-session/src/revert.rs:39
Method
from_app_theme
(theme: &crate::theme::Theme)
crates/opencode-tui/src/components/markdown/code_block.rs:370
Method
from_builtin
(builtin: BuiltinAgent)
crates/opencode-agent/src/agent.rs:177
Method
from_config
(config: OpenAIConfig, legacy_only: bool)
crates/opencode-provider/src/openai.rs:232
Method
from_config
(config: &LoadedConfig)
crates/opencode-agent/src/agent.rs:472
Method
from_contents
(old_content: &str, new_content: &str)
crates/opencode-tool/src/edit/replacers.rs:744
Method
from_current
Build from the current runtime environment.
crates/opencode-session/src/system.rs:127
Method
from_diffs
(diffs: Vec<SummaryFileDiff>)
crates/opencode-session/src/summary.rs:530
Function
from_models_dev_model_merges_transform_and_explicit_variants
()
crates/opencode-provider/src/bootstrap.rs:2934
Method
from_optional_config
(config: Option<&LoadedConfig>)
crates/opencode-agent/src/agent.rs:478
Method
from_preset
(name: &str, mode: ThemeMode)
crates/opencode-tui/src/theme/mod.rs:175
Method
from_project_dir
(project_dir: impl AsRef<Path>)
crates/opencode-agent/src/agent.rs:485
Method
from_provider_id
(id: &str)
crates/opencode-provider/src/transform.rs:27
Method
from_row
Create from a database row representation
crates/opencode-session/src/session.rs:670
Method
from_str
Try to parse a raw JSON string as either a Response or a Notification. Responses have an `id` field; notifications have a `method` field but no `id`.
crates/opencode-mcp/src/protocol.rs:64
Method
from_str
(s: &str)
crates/opencode-util/src/logging.rs:17
Method
from_str_lossy
(s: &str)
crates/opencode-tui/src/context/app_context.rs:75
Method
function_call
(name: &str, args: serde_json::Value)
crates/opencode-provider/src/vertex.rs:344
Method
function_response
(name: &str, response: &str)
crates/opencode-provider/src/vertex.rs:355
Method
general
()
crates/opencode-agent/src/agent.rs:238
Method
generate
( &self, input: GenerateInput, provider_registry: &opencode_provider::ProviderRegistry
crates/opencode-agent/src/agent.rs:687
Method
generate_slug
()
crates/opencode-session/src/session.rs:372
Method
generate_summary_prompt
()
crates/opencode-session/src/compaction.rs:237
Function
generate_unified_diff
(file_path: &str, old_content: &str, new_content: &str)
crates/opencode-tool/src/edit/replacers.rs:713
Function
get
(_target, prop: string | symbol)
crates/opencode-plugin/host/plugin-host.ts:245
Method
get
(&self, mcp_name: &str)
crates/opencode-mcp/src/oauth.rs:390
Method
get
(&self, id: &str)
crates/opencode-storage/src/repository.rs:195
Method
get
(&self)
crates/opencode-tui/src/hooks/use_state.rs:17
Method
get_api_key
(&self, provider_id: &str)
crates/opencode-provider/src/auth.rs:119
Method
get_by_category
(&self, category: &CommandCategory)
crates/opencode-tui/src/command.rs:523
Function
get_config
(State(_state): State<Arc<ServerState>>)
crates/opencode-server/src/routes.rs:2419
Function
get_config_providers
( State(state): State<Arc<ServerState>>, )
crates/opencode-server/src/routes.rs:2447
Method
get_connection
(&self)
crates/opencode-storage/src/database.rs:92
Function
get_current_branch
(path: &Path)
crates/opencode-util/src/util.rs:217
Function
get_current_project
()
crates/opencode-server/src/routes.rs:3325
Method
get_current_session
(&self)
crates/opencode-tui/src/api.rs:726
Method
get_database_path
()
crates/opencode-storage/src/database.rs:113
Function
get_doc
()
crates/opencode-server/src/routes.rs:4253
Function
get_env_key_or
(provider_id: &str, default: &str)
crates/opencode-provider/src/auth.rs:189
Function
get_file_status
()
crates/opencode-server/src/routes.rs:2994
Function
get_formatter_status
()
crates/opencode-server/src/routes.rs:4483
Function
get_global_config
(State(_state): State<Arc<ServerState>>)
crates/opencode-server/src/routes.rs:3984
Function
get_head_commit
(path: &Path)
crates/opencode-util/src/util.rs:235
Method
get_info
(&self, id: &str)
crates/opencode-provider/src/provider.rs:327
Method
get_language_model
( &self, provider_id: &str, model_id: &str, )
crates/opencode-provider/src/provider.rs:365
Method
get_logs
(&self, name: &str)
crates/opencode-mcp/src/client.rs:869
Function
get_lsp_status
()
crates/opencode-server/src/routes.rs:4472
Function
get_mcp_logs
(Path(name): Path<String>)
crates/opencode-server/src/routes.rs:2675
Function
get_mcp_status
( State(_state): State<Arc<ServerState>>, )
crates/opencode-server/src/routes.rs:2525
Function
get_message
( State(state): State<Arc<ServerState>>, Path((session_id, msg_id)): Path<(String, String)>, )
crates/opencode-server/src/routes.rs:1862
Method
get_model
(&self, id: &str)
crates/opencode-provider/src/anthropic.rs:162
Method
get_model
(&self, id: &str)
crates/opencode-provider/src/cerebras.rs:65
Method
get_model
(&self, id: &str)
crates/opencode-provider/src/together.rs:95
Method
get_model
(&self, id: &str)
crates/opencode-provider/src/perplexity.rs:84
Method
get_model
(&self, id: &str)
crates/opencode-provider/src/groq.rs:95
Method
get_model
(&self, id: &str)
crates/opencode-provider/src/openai.rs:988
Method
get_model
(&self, id: &str)
crates/opencode-provider/src/bedrock.rs:305
Method
get_model
(&self, id: &str)
crates/opencode-provider/src/openrouter.rs:171
Method
get_model
(&self, id: &str)
crates/opencode-provider/src/gitlab.rs:136
Method
get_model
(&self, id: &str)
crates/opencode-provider/src/xai.rs:84
Method
get_model
(&self, id: &str)
crates/opencode-provider/src/google.rs:171
Method
get_model
(&self, id: &str)
crates/opencode-provider/src/vertex.rs:216
Method
get_model
(&self, id: &str)
crates/opencode-provider/src/deepseek.rs:62
Method
get_model
(&self, id: &str)
crates/opencode-provider/src/github_copilot.rs:472
Method
get_model
(&self, id: &str)
crates/opencode-provider/src/azure.rs:143
Method
get_model
(&self, id: &str)
crates/opencode-provider/src/deepinfra.rs:87
Method
get_model
(&self, id: &str)
crates/opencode-provider/src/vercel.rs:123
Method
get_model
(&self, id: &str)
crates/opencode-provider/src/mistral.rs:95
Method
get_model
(&self, id: &str)
crates/opencode-provider/src/cohere.rs:84
Method
get_model
(&self, id: &str)
crates/opencode-session/src/summary.rs:586
Method
get_model
(&self, id: &str)
crates/opencode-session/src/compaction.rs:1053
Function
get_next_tui_request
()
crates/opencode-server/src/routes.rs:3934
Function
get_oauth_state
Read the stored OAuth state.
crates/opencode-mcp/src/auth.rs:167
Method
get_oauth_token
(&self, provider_id: &str)
crates/opencode-provider/src/auth.rs:127
Function
get_paths
(Query(params): Query<PathQuery>)
crates/opencode-server/src/routes.rs:4317
Method
get_provider
Get a provider by ID.
crates/opencode-provider/src/bootstrap.rs:1528
Function
get_provider_auth
( State(_state): State<Arc<ServerState>>, )
crates/opencode-server/src/routes.rs:2316
Function
get_pty
(Path(id): Path<String>)
crates/opencode-server/src/routes.rs:3415
Method
get_reasoning
(&self)
crates/opencode-session/src/message.rs:246
Function
get_remote_url
(path: &Path)
crates/opencode-util/src/util.rs:226
Function
get_response_metadata
Get response metadata from a chat completion response. Mirrors TS `getResponseMetadata()`.
crates/opencode-provider/src/responses.rs:791
Function
get_root
(path: &Path)
crates/opencode-util/src/util.rs:208
Function
get_session
( State(state): State<Arc<ServerState>>, Path(id): Path<String>, )
crates/opencode-server/src/routes.rs:417
Function
get_session_children
( State(state): State<Arc<ServerState>>, Path(id): Path<String>, )
crates/opencode-server/src/routes.rs:443
← previous
next →
2,001–2,100 of 3,221, ranked by callers