Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xSero/codex-local
/ functions
Functions
4,129 in github.com/0xSero/codex-local
⨍
Functions
4,129
◇
Types & classes
1,029
↓ 1 callers
Method
display_rows
Rows suitable for display, including the current partial line if any.
codex-rs/tui/src/live_wrap.rs:95
↓ 1 callers
Method
drain_all
(&mut self)
codex-rs/tui/src/streaming/mod.rs:30
↓ 1 callers
Method
drain_commit_ready
Drain the oldest rows that exceed `max_keep` display rows (including the current partial line, if any). Returns the drained rows in order.
codex-rs/tui/src/live_wrap.rs:108
↓ 1 callers
Function
drain_to_completed
( sess: &Session, turn_context: &TurnContext, sub_id: &str, prompt: &Prompt, )
codex-rs/core/src/codex/compact.rs:255
↓ 1 callers
Function
draw
(frame: &mut Frame, app: &mut App)
codex-rs/cloud-tasks/src/ui.rs:29
↓ 1 callers
Function
draw
(writer: &mut impl Write, commands: I)
codex-rs/tui/src/custom_terminal.rs:464
↓ 1 callers
Method
draw
Draws a single frame to the terminal. Returns a [`CompletedFrame`] if successful, otherwise a [`std::io::Error`]. If the render callback passed to t
codex-rs/tui/src/custom_terminal.rs:264
↓ 1 callers
Function
draw_apply_modal
(frame: &mut Frame, area: Rect, app: &mut App)
codex-rs/cloud-tasks/src/ui.rs:470
↓ 1 callers
Function
draw_best_of_modal
(frame: &mut Frame, area: Rect, app: &mut App)
codex-rs/cloud-tasks/src/ui.rs:1014
↓ 1 callers
Function
draw_diff_overlay
(frame: &mut Frame, area: Rect, app: &mut App)
codex-rs/cloud-tasks/src/ui.rs:313
↓ 1 callers
Function
draw_env_modal
(frame: &mut Frame, area: Rect, app: &mut App)
codex-rs/cloud-tasks/src/ui.rs:912
↓ 1 callers
Function
draw_list
(frame: &mut Frame, area: Rect, app: &mut App)
codex-rs/cloud-tasks/src/ui.rs:177
↓ 1 callers
Function
draw_new_task_page
(frame: &mut Frame, area: Rect, app: &mut App)
codex-rs/cloud-tasks/src/ui.rs:105
↓ 1 callers
Function
drop_small_formatting_commands
(mut commands: Vec<Vec<String>>)
codex-rs/core/src/parse_command.rs:1281
↓ 1 callers
Function
elapsed_since_start
()
codex-rs/tui/src/shimmer.rs:16
↓ 1 callers
Function
empty_mcp_output
Render a summary of configured MCP servers from the current `Config`.
codex-rs/tui/src/history_cell.rs:1033
↓ 1 callers
Function
encode_id_token_with_email
(email: &str)
codex-rs/app-server/tests/suite/user_info.rs:69
↓ 1 callers
Method
end_blockquote
(&mut self)
codex-rs/tui/src/markdown_render.rs:257
↓ 1 callers
Method
end_codeblock
(&mut self)
codex-rs/tui/src/markdown_render.rs:399
↓ 1 callers
Method
end_heading
(&mut self)
codex-rs/tui/src/markdown_render.rs:243
↓ 1 callers
Method
end_list
(&mut self)
codex-rs/tui/src/markdown_render.rs:349
↓ 1 callers
Method
end_paragraph
(&mut self)
codex-rs/tui/src/markdown_render.rs:218
↓ 1 callers
Method
end_tag
(&mut self, tag: TagEnd)
codex-rs/tui/src/markdown_render.rs:185
↓ 1 callers
Method
enhanced_keys_supported
(&self)
codex-rs/tui/src/tui.rs:304
↓ 1 callers
Function
ensure_dir
(dir: &Path)
codex-rs/protocol-ts/src/lib.rs:60
↓ 1 callers
Method
ensure_minimum_rows_for_view
(&mut self, minimum_rows: usize)
codex-rs/tui/src/resume_picker.rs:496
↓ 1 callers
Function
ensure_no_inline_bearer_tokens
We briefly allowed plain text bearer_token fields in MCP server configs. We want to warn people who recently added these fields but can remove this af
codex-rs/core/src/config.rs:334
↓ 1 callers
Function
ensure_owner_only_permissions
(file: &File)
codex-rs/core/src/message_history.rs:269
↓ 1 callers
Function
ensure_profile_table
( doc: &'a mut DocumentMut, profile_name: &str, )
codex-rs/core/src/config.rs:550
↓ 1 callers
Function
env_label_from_status_display
(v: Option<&HashMap<String, Value>>)
codex-rs/cloud-tasks-client/src/http.rs:675
↓ 1 callers
Method
equals_except_shell
Compares two environment contexts, ignoring the shell. Useful when comparing turn to turn, since the initial environment_context will include the shel
codex-rs/core/src/environment_context.rs:79
↓ 1 callers
Function
estimate_message_tokens
(role: &str, content: &str, model: &str)
codex-rs/tui/src/token_counter.rs:21
↓ 1 callers
Method
event_output
(&'a self)
codex-rs/core/src/executor/runner.rs:276
↓ 1 callers
Function
exec
( params: ExecParams, sandbox_policy: &SandboxPolicy, stdout_stream: Option<StdoutStream>, )
codex-rs/core/src/exec.rs:298
↓ 1 callers
Method
exec_one_off_command
(&self, request_id: RequestId, params: ExecOneOffCommandParams)
codex-rs/app-server/src/codex_message_processor.rs:583
↓ 1 callers
Function
exec_options
()
codex-rs/tui/src/bottom_pane/approval_overlay.rs:355
↓ 1 callers
Method
expand_range_to_element_boundaries
(&self, mut range: Range<usize>)
codex-rs/tui/src/bottom_pane/textarea.rs:698
↓ 1 callers
Function
expand_tabs
Expand tabs in a best-effort way for transcript rendering. Tabs can interact poorly with left-gutter prefixes in our TUI and CLI transcript views (e.g
codex-rs/ansi-escape/src/lib.rs:11
↓ 1 callers
Function
expires_in_from_timestamp
(expires_at: u64)
codex-rs/rmcp-client/src/oauth.rs:501
↓ 1 callers
Method
exploring_display_lines
(&self, width: u16)
codex-rs/tui/src/exec_cell/render.rs:210
↓ 1 callers
Method
extend_window
Keep the burst window alive.
codex-rs/tui/src/bottom_pane/paste_burst.rs:147
↓ 1 callers
Function
extract_apply_patch_from_bash
Extract the heredoc body (and optional `cd` workdir) from a `bash -lc` script that invokes the apply_patch tool using a heredoc. Supported top‑level
codex-rs/apply-patch/src/lib.rs:330
↓ 1 callers
Function
extract_assistant_messages_from_turn
(turn: &HashMap<String, Value>)
codex-rs/cloud-tasks-client/src/http.rs:576
↓ 1 callers
Function
extract_conversation_id
Extract the conversation UUID from the first SessionMeta line in the rollout file.
codex-rs/exec/tests/suite/resume.rs:60
↓ 1 callers
Function
extract_diff_from_turn
(turn: &HashMap<String, Value>)
codex-rs/cloud-tasks-client/src/http.rs:548
↓ 1 callers
Function
extract_first_bold
Extract the first bold (Markdown) element in the form **...** from `s`. Returns the inner text if found; otherwise `None`.
codex-rs/tui/src/chatwidget.rs:3380
↓ 1 callers
Function
extract_output_text
(item: &Value)
codex-rs/core/tests/suite/unified_exec.rs:26
↓ 1 callers
Function
extract_paths_from_patch
(diff_text: &str)
codex-rs/git-apply/src/lib.rs:179
↓ 1 callers
Function
extract_total_output_lines
(output: &str)
codex-rs/core/src/client_common.rs:176
↓ 1 callers
Function
fetch_rg
Download ripgrep binaries described by the DotSlash manifest.
codex-cli/scripts/install_native_deps.py:131
↓ 1 callers
Method
final_markdown
(&self)
codex-rs/core/src/child_agent_bridge.rs:55
↓ 1 callers
Method
finalize_active_cell_as_failed
Mark the active cell as failed (✗) and flush it into history.
codex-rs/tui/src/chatwidget.rs:2433
↓ 1 callers
Function
findCodexPath
()
sdk/typescript/src/exec.ts:142
↓ 1 callers
Function
findPreferredBinary
()
codex-cli/bin/codex.js:72
↓ 1 callers
Function
find_closest_sha
Finds the closest sha that exist on any of branches and also exists on any of the remotes.
codex-rs/core/src/git_info.rs:437
↓ 1 callers
Function
find_codex_home
Copy the find_codex_home function logic
codex-rs/test_config_path.rs:4
↓ 1 callers
Function
find_codex_home
This was copied from codex-core but codex-core depends on this crate. TODO: move this to a shared crate lower in the dependency tree. Returns the pa
codex-rs/rmcp-client/src/find_codex_home.rs:16
↓ 1 callers
Function
find_image_message
(body: &Value)
codex-rs/core/tests/suite/view_image.rs:25
↓ 1 callers
Method
flush_all
(&mut self, chat: &mut ChatWidget)
codex-rs/tui/src/chatwidget/interrupts.rs:74
↓ 1 callers
Method
flush_if_due
Flush the buffered burst if the inter-key timeout has elapsed. Returns Some(String) when either: - We were actively buffering paste-like input and th
codex-rs/tui/src/bottom_pane/paste_burst.rs:104
↓ 1 callers
Method
flush_paste_burst_if_due
(&mut self)
codex-rs/tui/src/bottom_pane/mod.rs:488
↓ 1 callers
Function
fmt_elapsed_compact
Format elapsed seconds into a compact human-friendly form used by the status line. Examples: 0s, 59s, 1m 00s, 59m 59s, 1h 00m 00s, 2h 03m 09s
codex-rs/tui/src/status_indicator_widget.rs:38
↓ 1 callers
Method
footer_mode
(&self)
codex-rs/tui/src/bottom_pane/chat_composer.rs:1363
↓ 1 callers
Method
footer_status
(&self)
codex-rs/tui/src/chatwidget.rs:257
↓ 1 callers
Method
fork_and_switch_to_new_conversation
Fork the conversation using provided history and switch UI/state accordingly.
codex-rs/tui/src/app_backtrack.rs:290
↓ 1 callers
Function
formatSseEvent
(event: SseEvent)
sdk/typescript/tests/responsesProxy.ts:60
↓ 1 callers
Function
format_and_truncate_tool_result
Truncate a tool result to fit within the given height and width. If the text is valid JSON, we format it in a compact way before truncating. This is a
codex-rs/tui/src/text_formatting.rs:204
↓ 1 callers
Function
format_created_label
(row: &Row)
codex-rs/tui/src/resume_picker.rs:856
↓ 1 callers
Method
format_directory
(&self, max_width: Option<usize>)
codex-rs/tui/src/history_cell.rs:678
↓ 1 callers
Function
format_directory_display
(directory: &Path, max_width: Option<usize>)
codex-rs/tui/src/status/helpers.rs:145
↓ 1 callers
Function
format_duration
Convert a [`std::time::Duration`] into a human-readable, compact string. Formatting rules: < 1 s -> "{milli}ms" < 60 s -> "{sec:.2}s" (two decimal
codex-rs/common/src/elapsed.rs:16
↓ 1 callers
Function
format_elapsed_millis
(millis: i64)
codex-rs/common/src/elapsed.rs:21
↓ 1 callers
Function
format_entry_component
(name: &OsStr)
codex-rs/core/src/tools/handlers/list_dir.rs:221
↓ 1 callers
Function
format_entry_line
(entry: &DirEntry)
codex-rs/core/src/tools/handlers/list_dir.rs:230
↓ 1 callers
Function
format_entry_name
(path: &Path)
codex-rs/core/src/tools/handlers/list_dir.rs:212
↓ 1 callers
Function
format_location
(item: &ReviewFinding)
codex-rs/core/src/review_format.rs:6
↓ 1 callers
Function
format_mcp_invocation
(invocation: McpInvocation)
codex-rs/tui/src/history_cell.rs:1547
↓ 1 callers
Function
format_relative_time
(ts: chrono::DateTime<Utc>)
codex-rs/cloud-tasks/src/ui.rs:844
↓ 1 callers
Function
format_reset_timestamp
(dt: DateTime<Local>, captured_at: DateTime<Local>)
codex-rs/tui/src/status/helpers.rs:168
↓ 1 callers
Function
format_updated_label
(row: &Row)
codex-rs/tui/src/resume_picker.rs:862
↓ 1 callers
Function
format_xml_thinking_blocks
Format XML thinking blocks with special styling Detects <think>, <thinking>, and other XML tags and formats them nicely
codex-rs/tui/src/text_formatting.rs:7
↓ 1 callers
Function
forwardSignal
(signal)
codex-cli/bin/codex.js:152
↓ 1 callers
Function
forwardSignal
(signal)
codex-rs/responses-api-proxy/npm/bin/codex-responses-api-proxy.js:69
↓ 1 callers
Function
forward_request
(client: &Client, auth_header: &'static str, mut req: Request)
codex-rs/responses-api-proxy/src/lib.rs:118
↓ 1 callers
Method
frames
(&self)
codex-rs/tui/src/ascii_animation.rs:98
↓ 1 callers
Method
from
(_settings: &crate::config::OtelSettings)
codex-rs/otel/src/lib.rs:15
↓ 1 callers
Method
fuzzy_file_search
(&mut self, request_id: RequestId, params: FuzzyFileSearchParams)
codex-rs/app-server/src/codex_message_processor.rs:1211
↓ 1 callers
Function
generate_index_ts
Generate an index.ts file that re-exports all generated types. This allows consumers to import all types from a single file.
codex-rs/protocol-ts/src/lib.rs:104
↓ 1 callers
Function
generate_pkce
()
codex-rs/login/src/pkce.rs:12
↓ 1 callers
Function
generate_toc_lines
Generate markdown list lines for headings (## to ######) in content.
scripts/readme_toc.py:37
↓ 1 callers
Function
getUpdatedPath
(newDirs)
codex-cli/bin/codex.js:108
↓ 1 callers
Method
get_auth_status
( &self, request_id: RequestId, params: codex_app_server_protocol::GetAuthStatusParams
codex-rs/app-server/src/codex_message_processor.rs:441
↓ 1 callers
Method
get_auto_compact_token_limit
(&self)
codex-rs/core/src/client.rs:116
↓ 1 callers
Method
get_chatgpt_plan_type
(&self)
codex-rs/core/src/token_data.rs:35
↓ 1 callers
Function
get_chatgpt_token_data
()
codex-rs/chatgpt/src/chatgpt_token.rs:10
↓ 1 callers
Method
get_child_agent_bridge
( &self, conversation_id: &ConversationId, )
codex-rs/core/src/conversation_manager.rs:232
↓ 1 callers
Method
get_config_profile
( &self, override_profile: Option<String>, )
codex-rs/core/src/config.rs:938
↓ 1 callers
Function
get_conversation
(path: &Path)
codex-rs/core/src/rollout/list.rs:135
↓ 1 callers
Function
get_default_branch
Attempt to determine the repository's default branch name. Preference order: 1) The symbolic ref at `refs/remotes/<remote>/HEAD` for the first remote
codex-rs/core/src/git_info.rs:218
↓ 1 callers
Method
get_event_msgs
(&self)
codex-rs/protocol/src/protocol.rs:950
← previous
next →
1,401–1,500 of 4,129, ranked by callers