MCPcopy Create free account

hub / github.com/ChrisFeldmeier/OpenCodeRust / functions

Functions3,221 in github.com/ChrisFeldmeier/OpenCodeRust

Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/opencode-types/src/todo.rs:39
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/opencode-tui/src/router.rs:18
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/opencode-tui/src/context/keybind.rs:99
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/opencode-tool/src/tool.rs:677
Functionfn
()
crates/opencode-plugin/host/plugin-host.ts:243
Functionfooter
(area: Rect, height: u16)
crates/opencode-tui/src/ui/layout.rs:39
Methodfor_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
Functionfork_session
( State(state): State<Arc<ServerState>>, Path(id): Path<String>, Json(req): Json<ForkSessionReques
crates/opencode-server/src/routes.rs:492
Functionformat_bytes
(bytes: u64)
crates/opencode-util/src/util.rs:140
Functionformat_duration
(secs: u64)
crates/opencode-util/src/util.rs:100
Functionformat_number
(n: u64)
crates/opencode-util/src/util.rs:156
Functionformat_number
(value: u64)
crates/opencode-tui/src/components/sidebar.rs:648
Functionformat_tokens
(n: u64)
crates/opencode-cli/src/main.rs:2947
Methodfrom
(info: McpServerInfoStruct)
crates/opencode-server/src/routes.rs:2514
Methodfrom
(_: ())
crates/opencode-plugin/src/lib.rs:26
Methodfrom
(e: RpcError)
crates/opencode-plugin/src/subprocess/client.rs:46
Methodfrom
(d: SessionFileDiff)
crates/opencode-session/src/revert.rs:39
Methodfrom_app_theme
(theme: &crate::theme::Theme)
crates/opencode-tui/src/components/markdown/code_block.rs:370
Methodfrom_builtin
(builtin: BuiltinAgent)
crates/opencode-agent/src/agent.rs:177
Methodfrom_config
(config: OpenAIConfig, legacy_only: bool)
crates/opencode-provider/src/openai.rs:232
Methodfrom_config
(config: &LoadedConfig)
crates/opencode-agent/src/agent.rs:472
Methodfrom_contents
(old_content: &str, new_content: &str)
crates/opencode-tool/src/edit/replacers.rs:744
Methodfrom_current
Build from the current runtime environment.
crates/opencode-session/src/system.rs:127
Methodfrom_diffs
(diffs: Vec<SummaryFileDiff>)
crates/opencode-session/src/summary.rs:530
Functionfrom_models_dev_model_merges_transform_and_explicit_variants
()
crates/opencode-provider/src/bootstrap.rs:2934
Methodfrom_optional_config
(config: Option<&LoadedConfig>)
crates/opencode-agent/src/agent.rs:478
Methodfrom_preset
(name: &str, mode: ThemeMode)
crates/opencode-tui/src/theme/mod.rs:175
Methodfrom_project_dir
(project_dir: impl AsRef<Path>)
crates/opencode-agent/src/agent.rs:485
Methodfrom_provider_id
(id: &str)
crates/opencode-provider/src/transform.rs:27
Methodfrom_row
Create from a database row representation
crates/opencode-session/src/session.rs:670
Methodfrom_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
Methodfrom_str
(s: &str)
crates/opencode-util/src/logging.rs:17
Methodfrom_str_lossy
(s: &str)
crates/opencode-tui/src/context/app_context.rs:75
Methodfunction_call
(name: &str, args: serde_json::Value)
crates/opencode-provider/src/vertex.rs:344
Methodfunction_response
(name: &str, response: &str)
crates/opencode-provider/src/vertex.rs:355
Methodgeneral
()
crates/opencode-agent/src/agent.rs:238
Methodgenerate
( &self, input: GenerateInput, provider_registry: &opencode_provider::ProviderRegistry
crates/opencode-agent/src/agent.rs:687
Methodgenerate_slug
()
crates/opencode-session/src/session.rs:372
Methodgenerate_summary_prompt
()
crates/opencode-session/src/compaction.rs:237
Functiongenerate_unified_diff
(file_path: &str, old_content: &str, new_content: &str)
crates/opencode-tool/src/edit/replacers.rs:713
Functionget
(_target, prop: string | symbol)
crates/opencode-plugin/host/plugin-host.ts:245
Methodget
(&self, mcp_name: &str)
crates/opencode-mcp/src/oauth.rs:390
Methodget
(&self, id: &str)
crates/opencode-storage/src/repository.rs:195
Methodget
(&self)
crates/opencode-tui/src/hooks/use_state.rs:17
Methodget_api_key
(&self, provider_id: &str)
crates/opencode-provider/src/auth.rs:119
Methodget_by_category
(&self, category: &CommandCategory)
crates/opencode-tui/src/command.rs:523
Functionget_config
(State(_state): State<Arc<ServerState>>)
crates/opencode-server/src/routes.rs:2419
Functionget_config_providers
( State(state): State<Arc<ServerState>>, )
crates/opencode-server/src/routes.rs:2447
Methodget_connection
(&self)
crates/opencode-storage/src/database.rs:92
Functionget_current_branch
(path: &Path)
crates/opencode-util/src/util.rs:217
Functionget_current_project
()
crates/opencode-server/src/routes.rs:3325
Methodget_current_session
(&self)
crates/opencode-tui/src/api.rs:726
Methodget_database_path
()
crates/opencode-storage/src/database.rs:113
Functionget_doc
()
crates/opencode-server/src/routes.rs:4253
Functionget_env_key_or
(provider_id: &str, default: &str)
crates/opencode-provider/src/auth.rs:189
Functionget_file_status
()
crates/opencode-server/src/routes.rs:2994
Functionget_formatter_status
()
crates/opencode-server/src/routes.rs:4483
Functionget_global_config
(State(_state): State<Arc<ServerState>>)
crates/opencode-server/src/routes.rs:3984
Functionget_head_commit
(path: &Path)
crates/opencode-util/src/util.rs:235
Methodget_info
(&self, id: &str)
crates/opencode-provider/src/provider.rs:327
Methodget_language_model
( &self, provider_id: &str, model_id: &str, )
crates/opencode-provider/src/provider.rs:365
Methodget_logs
(&self, name: &str)
crates/opencode-mcp/src/client.rs:869
Functionget_lsp_status
()
crates/opencode-server/src/routes.rs:4472
Functionget_mcp_logs
(Path(name): Path<String>)
crates/opencode-server/src/routes.rs:2675
Functionget_mcp_status
( State(_state): State<Arc<ServerState>>, )
crates/opencode-server/src/routes.rs:2525
Functionget_message
( State(state): State<Arc<ServerState>>, Path((session_id, msg_id)): Path<(String, String)>, )
crates/opencode-server/src/routes.rs:1862
Methodget_model
(&self, id: &str)
crates/opencode-provider/src/anthropic.rs:162
Methodget_model
(&self, id: &str)
crates/opencode-provider/src/cerebras.rs:65
Methodget_model
(&self, id: &str)
crates/opencode-provider/src/together.rs:95
Methodget_model
(&self, id: &str)
crates/opencode-provider/src/perplexity.rs:84
Methodget_model
(&self, id: &str)
crates/opencode-provider/src/groq.rs:95
Methodget_model
(&self, id: &str)
crates/opencode-provider/src/openai.rs:988
Methodget_model
(&self, id: &str)
crates/opencode-provider/src/bedrock.rs:305
Methodget_model
(&self, id: &str)
crates/opencode-provider/src/openrouter.rs:171
Methodget_model
(&self, id: &str)
crates/opencode-provider/src/gitlab.rs:136
Methodget_model
(&self, id: &str)
crates/opencode-provider/src/xai.rs:84
Methodget_model
(&self, id: &str)
crates/opencode-provider/src/google.rs:171
Methodget_model
(&self, id: &str)
crates/opencode-provider/src/vertex.rs:216
Methodget_model
(&self, id: &str)
crates/opencode-provider/src/deepseek.rs:62
Methodget_model
(&self, id: &str)
crates/opencode-provider/src/github_copilot.rs:472
Methodget_model
(&self, id: &str)
crates/opencode-provider/src/azure.rs:143
Methodget_model
(&self, id: &str)
crates/opencode-provider/src/deepinfra.rs:87
Methodget_model
(&self, id: &str)
crates/opencode-provider/src/vercel.rs:123
Methodget_model
(&self, id: &str)
crates/opencode-provider/src/mistral.rs:95
Methodget_model
(&self, id: &str)
crates/opencode-provider/src/cohere.rs:84
Methodget_model
(&self, id: &str)
crates/opencode-session/src/summary.rs:586
Methodget_model
(&self, id: &str)
crates/opencode-session/src/compaction.rs:1053
Functionget_next_tui_request
()
crates/opencode-server/src/routes.rs:3934
Functionget_oauth_state
Read the stored OAuth state.
crates/opencode-mcp/src/auth.rs:167
Methodget_oauth_token
(&self, provider_id: &str)
crates/opencode-provider/src/auth.rs:127
Functionget_paths
(Query(params): Query<PathQuery>)
crates/opencode-server/src/routes.rs:4317
Methodget_provider
Get a provider by ID.
crates/opencode-provider/src/bootstrap.rs:1528
Functionget_provider_auth
( State(_state): State<Arc<ServerState>>, )
crates/opencode-server/src/routes.rs:2316
Functionget_pty
(Path(id): Path<String>)
crates/opencode-server/src/routes.rs:3415
Methodget_reasoning
(&self)
crates/opencode-session/src/message.rs:246
Functionget_remote_url
(path: &Path)
crates/opencode-util/src/util.rs:226
Functionget_response_metadata
Get response metadata from a chat completion response. Mirrors TS `getResponseMetadata()`.
crates/opencode-provider/src/responses.rs:791
Functionget_root
(path: &Path)
crates/opencode-util/src/util.rs:208
Functionget_session
( State(state): State<Arc<ServerState>>, Path(id): Path<String>, )
crates/opencode-server/src/routes.rs:417
Functionget_session_children
( State(state): State<Arc<ServerState>>, Path(id): Path<String>, )
crates/opencode-server/src/routes.rs:443
← previousnext →2,001–2,100 of 3,221, ranked by callers