MCPcopy Create free account

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

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

↓ 5 callersFunctionnormalize_exec_result
Converts a raw execution result into a uniform view that always exposes an [`ExecToolCallOutput`], synthesizing error output when the command fails be
codex-rs/core/src/executor/runner.rs:288
↓ 5 callersMethodopen_review_popup
(&mut self)
codex-rs/tui/src/chatwidget.rs:3078
↓ 5 callersFunctionoverlay_block
()
codex-rs/cloud-tasks/src/ui.rs:91
↓ 5 callersFunctionparse_command
DO NOT REVIEW THIS CODE BY HAND This parsing code is quite complex and not easy to hand-modify. The easiest way to iterate is to add unit tests and ha
codex-rs/core/src/parse_command.rs:57
↓ 5 callersFunctionparse_id_token
(id_token: &str)
codex-rs/core/src/token_data.rs:86
↓ 5 callersFunctionparse_seq
(src: &str)
codex-rs/core/src/bash.rs:156
↓ 5 callersFunctionpersist_model_selection
TODO(jif) refactor config persistence.
codex-rs/core/src/config.rs:601
↓ 5 callersMethodpush_approval_request
Called when the agent requests user approval.
codex-rs/tui/src/bottom_pane/mod.rs:438
↓ 5 callersFunctionrand_grapheme
(rng: &mut rand::rngs::StdRng)
codex-rs/tui/src/bottom_pane/textarea.rs:961
↓ 5 callersFunctionrate_limit_snapshot_display
( snapshot: &RateLimitSnapshot, captured_at: DateTime<Local>, )
codex-rs/tui/src/status/rate_limits.rs:57
↓ 5 callersMethodread_jsonrpc_message
(&mut self)
codex-rs/app-server/tests/common/mcp_process.rs:366
↓ 5 callersMethodrender
(&self, area: Rect, buf: &mut Buffer)
codex-rs/tui/src/bottom_pane/approval_overlay.rs:271
↓ 5 callersFunctionrestore
Restore the terminal to its original state. Inverse of `set_modes`.
codex-rs/tui/src/tui.rs:115
↓ 5 callersFunctionrestore_ghost_commit
Restore the working tree to match the provided ghost commit.
codex-rs/git-tooling/src/ghost_commits.rs:134
↓ 5 callersFunctionrun
The worker threads will periodically check `cancel_flag` to see if they should stop processing files.
codex-rs/file-search/src/lib.rs:124
↓ 5 callersFunctionrun_cmd
(cmd: &[&str], writable_roots: &[PathBuf], timeout_ms: u64)
codex-rs/linux-sandbox/tests/suite/landlock.rs:37
↓ 5 callersFunctionrun_device_code_login
Full device code login flow.
codex-rs/login/src/device_code_auth.rs:152
↓ 5 callersFunctionrun_rg_search
( pattern: &str, include: Option<&str>, search_path: &Path, limit: usize, cwd: &Path, )
codex-rs/core/src/tools/handlers/grep_files.rs:111
↓ 5 callersFunctionsanitize_directory
(lines: Vec<String>)
codex-rs/tui/src/status/tests.rs:40
↓ 5 callersMethodsave
(&self, service: &str, account: &str, value: &str)
codex-rs/rmcp-client/src/oauth.rs:119
↓ 5 callersMethodsend_get_auth_status_request
Send a `getAuthStatus` JSON-RPC request.
codex-rs/app-server/tests/common/mcp_process.rs:221
↓ 5 callersMethodsend_server_notification
(&self, notification: ServerNotification)
codex-rs/app-server/src/outgoing_message.rs:91
↓ 5 callersMethodset_composer_text
Replace the composer text with `text`.
codex-rs/tui/src/bottom_pane/mod.rs:283
↓ 5 callersMethodset_ctrl_c_quit_hint
(&mut self, show: bool, has_focus: bool)
codex-rs/tui/src/bottom_pane/chat_composer.rs:380
↓ 5 callersMethodset_esc_backtrack_hint
(&mut self, show: bool)
codex-rs/tui/src/bottom_pane/chat_composer.rs:1520
↓ 5 callersFunctionskip_test
()
codex-rs/core/tests/suite/exec.rs:18
↓ 5 callersFunctionspawn_command_under_seatbelt
( command: Vec<String>, command_cwd: PathBuf, sandbox_policy: &SandboxPolicy, sandbox_policy_c
codex-rs/core/src/seatbelt.rs:19
↓ 5 callersMethodsse_event_failed
(&self, kind: Option<&String>, duration: Duration, error: &T)
codex-rs/otel/src/otel_event_manager.rs:215
↓ 5 callersMethodstream
Dispatches to either the Responses or Chat implementation depending on the provider config. Public callers always invoke `stream()` – the specialised
codex-rs/core/src/client.rs:125
↓ 5 callersMethodstream_idle_timeout
Effective idle timeout for streaming responses.
codex-rs/core/src/model_provider_info.rs:243
↓ 5 callersMethodsubmit_user_message
(&mut self, user_message: UserMessage)
codex-rs/tui/src/chatwidget.rs:2016
↓ 5 callersMethodsync_command_popup
Synchronize `self.command_popup` with the current text in the textarea. This must be called after every modification that can change the text so the p
codex-rs/tui/src/bottom_pane/chat_composer.rs:1383
↓ 5 callersMethodsync_file_search_popup
Synchronize `self.file_search_popup` with the current text in the textarea. Note this is only called when self.active_popup is NOT Command.
codex-rs/tui/src/bottom_pane/chat_composer.rs:1438
↓ 5 callersMethodtasks_api
(&self)
codex-rs/cloud-tasks-client/src/http.rs:47
↓ 5 callersFunctiontest_config
()
codex-rs/tui/src/history_cell.rs:1586
↓ 5 callersFunctiontype_from_ref
Convert a JSON reference to a Rust type.
codex-rs/mcp-types/generate_mcp_types.py:723
↓ 5 callersMethodusage_percentage
(&self)
codex-rs/orchestrator/src/runtime.rs:42
↓ 5 callersFunctionuser_message_style
()
codex-rs/tui/src/style.rs:8
↓ 4 callersMethodabort
(&self, session: Arc<SessionTaskContext>, sub_id: &str)
codex-rs/core/src/tasks/review.rs:34
↓ 4 callersMethodactive_token
(&self)
codex-rs/tui/src/resume_picker.rs:209
↓ 4 callersMethodactive_view
(&self)
codex-rs/tui/src/bottom_pane/mod.rs:121
↓ 4 callersMethodadd_output
Adds a subagent output record for synthesis.
codex-rs/orchestrator/src/validation.rs:63
↓ 4 callersMethodapply_filter
(&mut self)
codex-rs/tui/src/bottom_pane/list_selection_view.rs:125
↓ 4 callersFunctionassert_match
(script: &str, expected_workdir: Option<&str>)
codex-rs/apply-patch/src/lib.rs:885
↓ 4 callersFunctionassert_reasoning
(item: &ResponseItem, expected: &str)
codex-rs/core/tests/chat_completions_sse.rs:135
↓ 4 callersFunctionbase_mock
()
codex-rs/core/tests/common/responses.rs:258
↓ 4 callersMethodbeginning_of_previous_word
(&self)
codex-rs/tui/src/bottom_pane/textarea.rs:801
↓ 4 callersFunctionblock_on_future
(future: F)
codex-rs/tui/src/resume_picker.rs:985
↓ 4 callersMethodcalculate_required_height
Determine the preferred height of the popup for a given width. Accounts for wrapped descriptions so that long tooltips don't overflow.
codex-rs/tui/src/bottom_pane/command_popup.rs:96
↓ 4 callersMethodcardinality
(&self)
codex-rs/execpolicy/src/arg_matcher.rs:51
↓ 4 callersMethodclamp_pos_to_nearest_boundary
(&self, mut pos: usize)
codex-rs/tui/src/bottom_pane/textarea.rs:663
↓ 4 callersMethodclamp_selection
Clamp selection to be within the [0, len-1] range, or None when empty.
codex-rs/tui/src/bottom_pane/scroll_state.rs:28
↓ 4 callersMethodcontent_area
(&self, area: Rect)
codex-rs/tui/src/pager_overlay.rs:270
↓ 4 callersFunctioncreate_env
Construct an environment map based on the rules in the specified policy. The resulting map can be passed directly to `Command::envs()` after calling `
codex-rs/core/src/exec_env.rs:14
↓ 4 callersFunctioncreate_test_fixture
()
codex-rs/core/src/config.rs:1993
↓ 4 callersFunctioncreate_test_git_repo_with_remote
(temp_dir: &TempDir)
codex-rs/core/src/git_info.rs:730
↓ 4 callersFunctioncreate_test_scenario
(tmp: &TempDir)
codex-rs/core/tests/suite/seatbelt.rs:207
↓ 4 callersMethodcursor_pos
(&self, area: Rect)
codex-rs/tui/src/bottom_pane/textarea.rs:134
↓ 4 callersMethodcwd_path
(&self)
codex-rs/core/tests/common/test_codex_exec.rs:28
↓ 4 callersFunctiondefault_user_shell
()
codex-rs/core/src/shell.rs:173
↓ 4 callersMethoddelete_backward
####### Input Functions #######
codex-rs/tui/src/bottom_pane/textarea.rs:410
↓ 4 callersMethoddelete_forward
(&mut self, n: usize)
codex-rs/tui/src/bottom_pane/textarea.rs:424
↓ 4 callersFunctiondelete_oauth_tokens_from_keyring_and_file
( keyring_store: &K, store_mode: OAuthCredentialsStoreMode, server_name: &str, url: &str, )
codex-rs/rmcp-client/src/oauth.rs:276
↓ 4 callersMethoddesired_height
(&self, width: u16)
codex-rs/tui/src/chatwidget.rs:1601
↓ 4 callersMethoddrop
(&self)
codex-rs/app-server/src/codex_message_processor.rs:116
↓ 4 callersMethodelapsed_seconds_at
(&self, now: Instant)
codex-rs/tui/src/status_indicator_widget.rs:151
↓ 4 callersMethodend_of_next_word
(&self)
codex-rs/tui/src/bottom_pane/textarea.rs:820
↓ 4 callersMethodenqueue_user_message
(&mut self, notification: JSONRPCNotification)
codex-rs/app-server/tests/common/mcp_process.rs:497
↓ 4 callersFunctionesc_hint_mode
(current: FooterMode, is_task_running: bool)
codex-rs/tui/src/bottom_pane/footer.rs:58
↓ 4 callersMethodexec_request
( &self, req: reqwest::RequestBuilder, method: &str, url: &str, )
codex-rs/backend-client/src/client.rs:111
↓ 4 callersFunctionexec_snippet
(command: &[String])
codex-rs/tui/src/history_cell.rs:399
↓ 4 callersFunctionfallback_file_path
()
codex-rs/rmcp-client/src/oauth.rs:527
↓ 4 callersMethodflush_paste_burst_if_due
(&mut self)
codex-rs/tui/src/bottom_pane/chat_composer.rs:351
↓ 4 callersMethodfooter_props
(&self)
codex-rs/tui/src/bottom_pane/chat_composer.rs:1348
↓ 4 callersMethodfork_conversation
Fork an existing conversation by taking messages up to the given position (not including the message at the given position) and starting a new convers
codex-rs/core/src/conversation_manager.rs:190
↓ 4 callersFunctionformat_exit_messages
(exit_info: AppExitInfo, color_enabled: bool)
codex-rs/cli/src/main.rs:215
↓ 4 callersMethodget_cursor_position
(&mut self)
codex-rs/tui/src/custom_terminal.rs:363
↓ 4 callersMethodget_model_context_window
(&self)
codex-rs/core/src/client.rs:110
↓ 4 callersFunctionget_range_checked
(vec: &[T], range: std::ops::Range<usize>)
codex-rs/execpolicy/src/arg_resolver.rs:190
↓ 4 callersMethodget_rollout_items
(&self)
codex-rs/protocol/src/protocol.rs:942
↓ 4 callersMethodhandle_background_event
(&mut self, event: BackgroundEvent)
codex-rs/tui/src/resume_picker.rs:346
↓ 4 callersMethodhandle_input_basic
Handle generic Input events that modify the textarea content.
codex-rs/tui/src/bottom_pane/chat_composer.rs:1041
↓ 4 callersMethodhandle_key
(&mut self, key: KeyEvent)
codex-rs/tui/src/resume_picker.rs:258
↓ 4 callersFunctionhead_with_ts_and_user_text
(ts: &str, texts: &[&str])
codex-rs/tui/src/resume_picker.rs:942
↓ 4 callersMethodhistory_snapshot
(&self)
codex-rs/core/src/codex.rs:762
↓ 4 callersMethodid
Commit ID for the snapshot.
codex-rs/git-tooling/src/lib.rs:29
↓ 4 callersFunctioninit
Initialize the terminal (inline viewport; history stays in normal scrollback)
codex-rs/tui/src/tui.rs:126
↓ 4 callersMethodinitialize
Negotiates the initialization with the MCP server. Sends an `initialize` request with the specified `initialize_params` and then the `notifications/in
codex-rs/mcp-client/src/mcp_client.rs:314
↓ 4 callersMethodinsert_history_lines
(&mut self, lines: Vec<Line<'static>>)
codex-rs/tui/src/tui.rs:483
↓ 4 callersMethodis_complete
(&self)
codex-rs/tui/src/bottom_pane/approval_overlay.rs:249
↓ 4 callersMethodis_ready
(&self)
codex-rs/utils/readiness/src/lib.rs:84
↓ 4 callersMethodkill_to_beginning_of_line
(&mut self)
codex-rs/tui/src/bottom_pane/textarea.rs:466
↓ 4 callersMethodkill_to_end_of_line
(&mut self)
codex-rs/tui/src/bottom_pane/textarea.rs:455
↓ 4 callersFunctionline_number_width
(max_line_number: usize)
codex-rs/tui/src/diff_render.rs:395
↓ 4 callersFunctionload_resolved_config
( codex_home: &Path, cli_overrides: Vec<(String, TomlValue)>, overrides: crate::config_loader::Loa
codex-rs/core/src/config.rs:286
↓ 4 callersFunctionload_tasks
( backend: &dyn CloudBackend, env: Option<&str>, )
codex-rs/cloud-tasks/src/app.rs:121
↓ 4 callersFunctionlogout
Delete the auth.json file inside `codex_home` if it exists. Returns `Ok(true)` if a file was removed, `Ok(false)` if no auth file was present.
codex-rs/core/src/auth.rs:213
↓ 4 callersFunctionmake_exec_request
()
codex-rs/tui/src/bottom_pane/approval_overlay.rs:402
↓ 4 callersFunctionmap_response_item_to_event_messages
Convert a `ResponseItem` into zero or more `EventMsg` values that the UI can render. When `show_raw_agent_reasoning` is false, raw reasoning content
codex-rs/core/src/event_mapping.rs:17
↓ 4 callersMethodmove_down_wrap
Move selection down by one, wrapping to the top when necessary.
codex-rs/tui/src/bottom_pane/scroll_state.rs:53
← previousnext →401–500 of 4,129, ranked by callers