MCPcopy Create free account

hub / github.com/0xSero/codex-local / functions

Functions4,129 in github.com/0xSero/codex-local

↓ 2 callersMethodclear_esc_backtrack_hint
(&mut self)
codex-rs/tui/src/chatwidget.rs:3051
↓ 2 callersMethodclear_pending
(&mut self)
codex-rs/core/src/state/turn.rs:82
↓ 2 callersMethodclose_transcript_overlay
Close transcript overlay and restore normal UI.
codex-rs/tui/src/app_backtrack.rs:118
↓ 2 callersFunctioncodex_returns_json_result
(model: String)
codex-rs/core/tests/suite/json_result.rs:42
↓ 2 callersFunctioncollect_rows
(changes: &HashMap<PathBuf, FileChange>)
codex-rs/tui/src/diff_render.rs:99
↓ 2 callersFunctioncollect_tools
(use_unified_exec: bool)
codex-rs/core/tests/suite/tools.rs:285
↓ 2 callersMethodcomplete
( &mut self, duration: Duration, result: Result<mcp_types::CallToolResult, String>,
codex-rs/tui/src/history_cell.rs:824
↓ 2 callersFunctioncompute_auth_statuses
( servers: I, store_mode: OAuthCredentialsStoreMode, )
codex-rs/core/src/mcp/auth.rs:13
↓ 2 callersFunctioncompute_desc_col
Compute a shared description-column start based on the widest visible name plus two spaces of padding. Ensures at least one column is left for the des
codex-rs/tui/src/bottom_pane/selection_popup_common.rs:28
↓ 2 callersMethodconfirm_backtrack_from_main
Confirm a primed backtrack from the main view (no overlay visible). Computes the prefill from the selected user message and requests history.
codex-rs/tui/src/app_backtrack.rs:250
↓ 2 callersMethodcontext_display
(&self)
codex-rs/orchestrator/src/runtime.rs:51
↓ 2 callersFunctionconversation_gutter_span
(speaker: ConversationSpeaker)
codex-rs/cloud-tasks/src/ui.rs:678
↓ 2 callersFunctionconversation_header_line
( speaker: ConversationSpeaker, attempt: Option<&AttemptView>, )
codex-rs/cloud-tasks/src/ui.rs:652
↓ 2 callersFunctionconvert_to_mcp
Convert from Rust SDK types to mcp-types. The Rust SDK types are the same as our mcp-types crate because they are both derived from the same MCP spec
codex-rs/rmcp-client/src/utils.rs:62
↓ 2 callersFunctionconvert_to_rmcp
Convert from mcp-types to Rust SDK types. The Rust SDK types are the same as our mcp-types crate because they are both derived from the same MCP spec
codex-rs/rmcp-client/src/utils.rs:48
↓ 2 callersFunctioncreate_config_summary_entries
Build a list of key/value pairs summarizing the effective configuration.
codex-rs/common/src/config_summary.rs:7
↓ 2 callersFunctioncreate_config_toml
Helper to create a config.toml; mirrors create_conversation.rs
codex-rs/app-server/tests/suite/login.rs:21
↓ 2 callersFunctioncreate_config_toml
Create a Codex config that uses the mock server as the model provider. It also uses `approval_policy = "untrusted"` so that we exercise the elicitatio
codex-rs/mcp-server/tests/suite/codex_tool.rs:437
↓ 2 callersFunctioncreate_env_for_mcp_server
( extra_env: Option<HashMap<String, String>>, )
codex-rs/rmcp-client/src/utils.rs:71
↓ 2 callersFunctioncreate_env_for_mcp_server
`extra_env` comes from the config for an entry in `mcp_servers` in `config.toml`.
codex-rs/mcp-client/src/mcp_client.rs:448
↓ 2 callersFunctioncreate_env_from_core_vars
()
codex-rs/linux-sandbox/tests/suite/landlock.rs:31
↓ 2 callersFunctioncreate_initial_user_message
(text: String, image_paths: Vec<PathBuf>)
codex-rs/tui/src/chatwidget.rs:638
↓ 2 callersFunctioncreate_mcp_process
(responses: Vec<String>)
codex-rs/mcp-server/tests/suite/codex_tool.rs:421
↓ 2 callersFunctioncreate_mock_chat_completions_server
Create a mock server that will provide the responses, in order, for requests to the `/v1/chat/completions` endpoint.
codex-rs/mcp-server/tests/common/mock_model_server.rs:13
↓ 2 callersFunctioncreate_oss_provider_with_base_url
(base_url: &str)
codex-rs/core/src/model_provider_info.rs:330
↓ 2 callersFunctioncreate_pattern
(pattern: &str)
codex-rs/file-search/src/lib.rs:380
↓ 2 callersMethodcreate_request_builder
Construct a `POST` RequestBuilder for the given URL using the provided reqwest Client applying: • provider-specific headers (static + env based) • Bea
codex-rs/core/src/model_provider_info.rs:100
↓ 2 callersFunctioncreate_shell_tool
()
codex-rs/core/src/tools/spec.rs:198
↓ 2 callersFunctioncreate_temp_git_repo
Creates a temporary git repository with initial commit
codex-rs/chatgpt/tests/suite/apply_command_e2e.rs:8
↓ 2 callersFunctioncreate_text_param_for_request
( verbosity: Option<VerbosityConfig>, output_schema: &Option<Value>, )
codex-rs/core/src/client_common.rs:357
↓ 2 callersFunctioncreate_tools_json_for_responses_api
Returns JSON values that are compatible with Function Calling in the Responses API: https://platform.openai.com/docs/guides/function-calling?api-mode=
codex-rs/core/src/tools/spec.rs:614
↓ 2 callersMethodcredential
(&self, account: &str)
codex-rs/rmcp-client/src/oauth.rs:615
↓ 2 callersMethodcurrent_display_col
(&self)
codex-rs/tui/src/bottom_pane/textarea.rs:156
↓ 2 callersMethodcurrent_steps_mut
(&mut self)
codex-rs/tui/src/onboarding/onboarding_screen.rs:132
↓ 2 callersMethodcursor_pos
(&self, area: Rect)
codex-rs/tui/src/chatwidget.rs:3279
↓ 2 callersMethoddecorate_body
(&self, cell: Box<dyn HistoryCell>)
codex-rs/tui/src/chatwidget.rs:461
↓ 2 callersMethoddecorate_lines
(&self, lines: Vec<Line<'static>>)
codex-rs/tui/src/history_cell.rs:341
↓ 2 callersFunctiondefault_bg
()
codex-rs/tui/src/terminal_palette.rs:46
↓ 2 callersFunctiondefault_colors_cache
()
codex-rs/tui/src/terminal_palette.rs:86
↓ 2 callersFunctiondefault_env_context_str
(cwd: &str, shell: &Shell)
codex-rs/core/tests/suite/prompt_caching.rs:38
↓ 2 callersFunctiondefine_struct
( name: str, properties: dict[str, Any], required_props: set[str], description: str | None, )
codex-rs/mcp-types/generate_mcp_types.py:350
↓ 2 callersFunctiondelete_oauth_tokens
( server_name: &str, url: &str, store_mode: OAuthCredentialsStoreMode, )
codex-rs/rmcp-client/src/oauth.rs:267
↓ 2 callersFunctiondelete_oauth_tokens_from_file
(key: &str)
codex-rs/rmcp-client/src/oauth.rs:472
↓ 2 callersFunctionderive_config_from_params
( params: NewConversationParams, codex_linux_sandbox_exe: Option<PathBuf>, )
codex-rs/app-server/src/codex_message_processor.rs:1324
↓ 2 callersFunctionderive_new_contents_from_chunks
Return *only* the new file contents (joined into a single `String`) after applying the chunks to the file at `path`.
codex-rs/apply-patch/src/lib.rs:637
↓ 2 callersMethoddesired_height
(&self, width: u16)
codex-rs/tui/src/bottom_pane/list_selection_view.rs:321
↓ 2 callersMethoddesired_height
(&self, width: u16)
codex-rs/tui/src/bottom_pane/approval_overlay.rs:267
↓ 2 callersMethoddiff
(&self, id: TaskId)
codex-rs/cloud-tasks-client/src/http.rs:152
↓ 2 callersFunctiondiff_buffers
(a: &'a Buffer, b: &'a Buffer)
codex-rs/tui/src/custom_terminal.rs:409
↓ 2 callersFunctiondimmed_tokens
(lines: &[Line<'static>])
codex-rs/tui/src/render/highlight.rs:165
↓ 2 callersFunctiondiscover_prompts_in_excluding
Discover prompt files in the given directory, excluding any with names in `exclude`. Returns entries sorted by name. Non-files are ignored. Missing/un
codex-rs/core/src/custom_prompts.rs:23
↓ 2 callersMethoddispatch_command
(&mut self, cmd: SlashCommand)
codex-rs/tui/src/chatwidget.rs:1833
↓ 2 callersMethoddispatch_event_msg
Dispatch a protocol `EventMsg` to the appropriate handler. `id` is `Some` for live events and `None` for replayed events from `replay_initial_message
codex-rs/tui/src/chatwidget.rs:2132
↓ 2 callersMethoddispatch_tool_call
( &self, session: Arc<Session>, turn: Arc<TurnContext>, tracker: SharedTurnDif
codex-rs/core/src/tools/router.rs:132
↓ 2 callersMethoddrain_tasks
(&mut self)
codex-rs/core/src/state/turn.rs:54
↓ 2 callersFunctiondraw_footer
(frame: &mut Frame, area: Rect, app: &mut App)
codex-rs/cloud-tasks/src/ui.rs:237
↓ 2 callersFunctiondraw_inline_spinner
( frame: &mut Frame, area: Rect, spinner_start: &mut Option<Instant>, label: &str, )
codex-rs/cloud-tasks/src/ui.rs:865
↓ 2 callersMethodeffective_scroll
Calculate the scroll offset that should be used to satisfy the invariants given the current area size and wrapped lines. - Cursor is always on screen
codex-rs/tui/src/bottom_pane/textarea.rs:873
↓ 2 callersMethodelapsed_duration_at
(&self, now: Instant)
codex-rs/tui/src/status_indicator_widget.rs:143
↓ 2 callersMethodemit
(&mut self, lines: Vec<Line<'static>>)
codex-rs/tui/src/streaming/controller.rs:76
↓ 2 callersMethodemit_task_complete
( &self, sub_id: String, last_agent_message: Option<String>, )
codex-rs/core/src/codex.rs:1209
↓ 2 callersMethodend_of_current_line
(&self)
codex-rs/tui/src/bottom_pane/textarea.rs:201
↓ 2 callersMethodend_of_line
(&self, pos: usize)
codex-rs/tui/src/bottom_pane/textarea.rs:195
↓ 2 callersFunctionends_with_ignore_ascii_case
(text: &str, suffix: &str)
codex-rs/protocol/src/protocol.rs:833
↓ 2 callersMethodenqueue
(&mut self, lines: Vec<Line<'static>>)
codex-rs/tui/src/streaming/mod.rs:36
↓ 2 callersMethodenqueue_request
(&mut self, req: ApprovalRequest)
codex-rs/tui/src/bottom_pane/approval_overlay.rs:78
↓ 2 callersFunctionensure_absolute_path
(path: &str, cwd: &Option<OsString>)
codex-rs/execpolicy/src/execv_checker.rs:101
↓ 2 callersFunctionensure_git_repository
(path: &Path)
codex-rs/git-tooling/src/operations.rs:10
↓ 2 callersFunctionensure_oss_ready
Prepare the local OSS environment when `--oss` is selected. - Ensures a local Ollama server is reachable. - Checks if the model exists locally and pu
codex-rs/ollama/src/lib.rs:20
↓ 2 callersFunctionescape_command
(command: &[String])
codex-rs/tui/src/exec_command.rs:7
↓ 2 callersFunctionexchange_code_for_tokens
( issuer: &str, client_id: &str, redirect_uri: &str, pkce: &PkceCodes, code: &str, )
codex-rs/login/src/server.rs:456
↓ 2 callersFunctionexpand_if_numeric_with_positional_args
If the prompt only uses numeric placeholders and the first line contains positional args for it, expand and return Some(expanded); otherwise None.
codex-rs/tui/src/bottom_pane/prompt_args.rs:239
↓ 2 callersFunctionexpand_numeric_placeholders
Expand `$1..$9` and `$ARGUMENTS` in `content` with values from `args`.
codex-rs/tui/src/bottom_pane/prompt_args.rs:257
↓ 2 callersMethodexpected_attempts
(&self)
codex-rs/cloud-tasks/src/app.rs:206
↓ 2 callersFunctionextract_archive
( archive_path: Path, archive_format: str, archive_member: str | None, dest: Path, )
codex-cli/scripts/install_native_deps.py:317
↓ 2 callersFunctionextract_assistant_messages_from_body
(body: &str)
codex-rs/cloud-tasks-client/src/http.rs:474
↓ 2 callersFunctionextract_chatgpt_account_id
Extract the ChatGPT account id from a JWT token, when present.
codex-rs/cloud-tasks/src/util.rs:41
↓ 2 callersFunctionextract_content_and_success
(value: &Value)
codex-rs/core/tests/suite/grep_files.rs:228
↓ 2 callersFunctionextract_conversation_summary
( path: PathBuf, head: &[serde_json::Value], )
codex-rs/app-server/src/codex_message_processor.rs:1444
↓ 2 callersFunctionextract_monotonic_numbers
(s: &str)
codex-rs/core/src/exec_command/session_manager.rs:457
↓ 2 callersMethodfetch_models
Return the list of model names known to the local Ollama instance.
codex-rs/ollama/src/client.rs:102
↓ 2 callersMethodfill_to_context_window
(&mut self, context_window: u64)
codex-rs/protocol/src/protocol.rs:621
↓ 2 callersFunctionfinalize_resume_interactive
Build the final `TuiCli` for a `codex resume` invocation.
codex-rs/cli/src/main.rs:430
↓ 2 callersMethodfinalize_turn
Finalize any active exec as failed and stop/clear running UI state.
codex-rs/tui/src/chatwidget.rs:906
↓ 2 callersMethodfind_git_root_cached
Find the git worktree root for a file/directory by walking up to the first ancestor containing a `.git` entry. Uses a simple cache of known roots and
codex-rs/core/src/turn_diff_tracker.rs:143
↓ 2 callersFunctionfind_tool_output
(requests: &'a [Value], call_id: &str)
codex-rs/core/tests/suite/grep_files.rs:201
↓ 2 callersMethodflush_before_modified_input
Before applying modified/non-char input: flush buffered burst immediately.
codex-rs/tui/src/bottom_pane/paste_burst.rs:200
↓ 2 callersMethodflush_current_line
(&mut self, explicit_break: bool)
codex-rs/tui/src/live_wrap.rs:122
↓ 2 callersMethodflush_interrupt_queue
(&mut self)
codex-rs/tui/src/chatwidget.rs:1174
↓ 2 callersFunctionfooter_lines
(props: &FooterProps)
codex-rs/tui/src/bottom_pane/footer.rs:89
↓ 2 callersFunctionfork_conversation
( manager: &ConversationManager, config: &Config, path: std::path::PathBuf, nth_user_message:
codex-rs/core/tests/suite/compact_resume_fork.rs:828
↓ 2 callersFunctionformat_exec_output_apply_patch
(exec_output: &ExecToolCallOutput)
codex-rs/core/src/tools/mod.rs:182
↓ 2 callersFunctionformat_line
(bytes: &[u8])
codex-rs/core/src/tools/handlers/read_file.rs:433
↓ 2 callersFunctionformat_reasoning_content
Format text that might contain XML thinking blocks or reasoning content This is a convenience wrapper that tries XML formatting first
codex-rs/tui/src/text_formatting.rs:187
↓ 2 callersFunctionformat_reset_duration
(total_secs: u64)
codex-rs/core/src/error.rs:251
↓ 2 callersFunctionformat_review_findings_block
Format a full review findings block as plain text lines. - When `selection` is `Some`, each item line includes a checkbox marker: "[x]" for selected
codex-rs/core/src/review_format.rs:20
↓ 2 callersFunctionformat_shell_invocation_with_rc
( command: &[String], shell_path: &str, rc_path: &str, )
codex-rs/core/src/shell.rs:108
↓ 2 callersFunctionformat_si_suffix_with_formatter
(n: u64, formatter: &DecimalFormatter)
codex-rs/protocol/src/num_format.rs:31
↓ 2 callersFunctionformatter
()
codex-rs/protocol/src/num_format.rs:20
↓ 2 callersMethodfull_spans
( &self, label: &str, mut value_spans: Vec<Span<'static>>, )
codex-rs/tui/src/status/format.rs:57
← previousnext →801–900 of 4,129, ranked by callers