MCPcopy Create free account

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

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

↓ 6 callersFunctionbackoff
(attempt: u64)
codex-rs/core/src/util.rs:8
↓ 6 callersFunctioncenter_truncate_path
Truncate a path-like string to the given display width, keeping leading and trailing segments where possible and inserting a single Unicode ellipsis b
codex-rs/tui/src/text_formatting.rs:305
↓ 6 callersMethodclone_session
(&self)
codex-rs/core/src/tasks/mod.rs:36
↓ 6 callersFunctioncodex_command
(codex_home: &Path)
codex-rs/cli/tests/mcp_list.rs:11
↓ 6 callersFunctioncollect_user_messages
(items: &[ResponseItem])
codex-rs/core/src/codex/compact.rs:198
↓ 6 callersFunctioncontent_items_to_text
(content: &[ContentItem])
codex-rs/core/src/codex/compact.rs:179
↓ 6 callersFunctioncreate_diff_summary
( changes: &HashMap<PathBuf, FileChange>, cwd: &Path, wrap_cols: usize, )
codex-rs/tui/src/diff_render.rs:79
↓ 6 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/app-server/tests/common/mock_model_server.rs:13
↓ 6 callersFunctionctrl
(key: KeyCode)
codex-rs/tui/src/key_hint.rs:43
↓ 6 callersFunctioncursor_from_str
(repr: &str)
codex-rs/tui/src/resume_picker.rs:966
↓ 6 callersFunctiondraw_centered_spinner
( frame: &mut Frame, area: Rect, spinner_start: &mut Option<Instant>, label: &str, )
codex-rs/cloud-tasks/src/ui.rs:884
↓ 6 callersFunctionend_exec
(chat: &mut ChatWidget, call_id: &str, stdout: &str, stderr: &str, exit_code: i32)
codex-rs/tui/src/chatwidget/tests.rs:530
↓ 6 callersMethodenter_alt_screen
Enter alternate screen and expand the viewport to full terminal size, saving the current inline viewport for restoration when leaving.
codex-rs/tui/src/tui.rs:453
↓ 6 callersFunctionenv_lock
()
codex-rs/git-apply/src/lib.rs:483
↓ 6 callersFunctionexpand_custom_prompt
Expands a message of the form `/prompts:name [value] [value] …` using a matching saved prompt. If the text does not start with `/prompts:`, or if no
codex-rs/tui/src/bottom_pane/prompt_args.rs:137
↓ 6 callersFunctionf
(t: f32)
codex-rs/tui/src/color.rs:46
↓ 6 callersFunctionfinalize_from_args
(args: &[&str])
codex-rs/cli/src/main.rs:562
↓ 6 callersFunctionfind_session_file_containing_marker
Utility: scan the sessions dir for a rollout file that contains `marker` in any response_item.message.content entry. Returns the absolute path.
codex-rs/exec/tests/suite/resume.rs:12
↓ 6 callersMethodflush_current_line
(&mut self)
codex-rs/tui/src/markdown_render.rs:427
↓ 6 callersMethodformat_default_shell_invocation
(&self, command: Vec<String>)
codex-rs/core/src/shell.rs:33
↓ 6 callersFunctionformat_exec_output
(content: &str)
codex-rs/core/src/tools/mod.rs:246
↓ 6 callersMethodget_conversation
( &self, conversation_id: ConversationId, )
codex-rs/core/src/conversation_manager.rs:135
↓ 6 callersFunctionget_model_info
(model_family: &ModelFamily)
codex-rs/core/src/openai_model_info.rs:31
↓ 6 callersFunctioninit_repo
()
codex-rs/git-apply/src/lib.rs:501
↓ 6 callersMethodinsert_element
(&mut self, text: &str)
codex-rs/tui/src/bottom_pane/textarea.rs:642
↓ 6 callersMethodinset
(&self, insets: Insets)
codex-rs/tui/src/render/mod.rs:40
↓ 6 callersMethodis_active
Returns true if we are in any paste-burst related transient state (actively buffering, have a non-empty buffer, or have saved the first fast char whil
codex-rs/tui/src/bottom_pane/paste_burst.rs:224
↓ 6 callersMethodis_pending
(&self)
codex-rs/tui/src/resume_picker.rs:203
↓ 6 callersMethodis_task_running
(&self)
codex-rs/tui/src/bottom_pane/mod.rs:422
↓ 6 callersFunctionload_sse_fixture_with_id
Same as [`load_sse_fixture`], but replaces the placeholder `__ID__` in the fixture template with the supplied identifier before parsing. This lets a s
codex-rs/core/tests/common/lib.rs:105
↓ 6 callersFunctionmake_exec_output
( exit_code: i32, stdout: &str, stderr: &str, aggregated: &str, )
codex-rs/core/src/exec.rs:510
↓ 6 callersFunctionmake_vars
(pairs: &[(&str, &str)])
codex-rs/core/src/exec_env.rs:77
↓ 6 callersMethodon_composer_text_change
Update the filter string based on the current composer text. The text passed in is expected to start with a leading '/'. Everything after the first* '
codex-rs/tui/src/bottom_pane/command_popup.rs:67
↓ 6 callersFunctionotel_event_manager
()
codex-rs/core/src/client.rs:1012
↓ 6 callersFunctionpush_wrapped_diff_line
( line_number: usize, kind: DiffLineType, text: &str, width: usize, line_number_width: usi
codex-rs/tui/src/diff_render.rs:334
↓ 6 callersMethodrecord_local_submission
Record a message submitted by the user in the current session so it can be recalled later.
codex-rs/tui/src/bottom_pane/chat_composer_history.rs:57
↓ 6 callersMethodrefresh_footer_subagent
(&mut self)
codex-rs/tui/src/chatwidget.rs:673
↓ 6 callersMethodreload
Force a reload of the auth information from auth.json. Returns whether the auth value changed.
codex-rs/core/src/auth.rs:635
↓ 6 callersFunctionrender_transcript
(cell: &dyn HistoryCell)
codex-rs/tui/src/history_cell.rs:1607
↓ 6 callersFunctionreset_mode_after_activity
(current: FooterMode)
codex-rs/tui/src/bottom_pane/footer.rs:66
↓ 6 callersMethodreset_pagination
(&mut self)
codex-rs/tui/src/resume_picker.rs:370
↓ 6 callersMethodresume_conversation_from_rollout
( &self, config: Config, rollout_path: PathBuf, auth_manager: Arc<AuthManager>
codex-rs/core/src/conversation_manager.rs:146
↓ 6 callersMethodrows
Return a snapshot of produced rows (non-draining).
codex-rs/tui/src/live_wrap.rs:90
↓ 6 callersFunctionrun_git_for_stdout
( dir: &Path, args: I, env: Option<&[(OsString, OsString)]>, )
codex-rs/git-tooling/src/operations.rs:146
↓ 6 callersMethodschedule_frame_in
(&self, dur: Duration)
codex-rs/tui/src/tui.rs:203
↓ 6 callersFunctionselect_sandbox
( request: &ExecutionRequest, approval_policy: AskForApproval, approval_cache: HashSet<Vec<String>
codex-rs/core/src/executor/sandbox.rs:56
↓ 6 callersMethodsend_add_conversation_listener_request
Send an `addConversationListener` JSON-RPC request.
codex-rs/app-server/tests/common/mcp_process.rs:174
↓ 6 callersMethodsend_send_user_message_request
Send a `sendUserMessage` JSON-RPC request with a single text item.
codex-rs/app-server/tests/common/mcp_process.rs:183
↓ 6 callersMethodset_content
Replace the raw content lines. Does not rewrap immediately; call `set_width` next.
codex-rs/cloud-tasks/src/scrollable_diff.rs:40
↓ 6 callersMethodspawn_task
( self: &Arc<Self>, turn_context: Arc<TurnContext>, sub_id: String, input: Vec
codex-rs/core/src/tasks/mod.rs:59
↓ 6 callersFunctionstart_responses_server_with_sse
Start a mock Responses API server and mount the given SSE stream body.
codex-rs/core/tests/suite/review.rs:611
↓ 6 callersFunctionstrip_bash_lc_and_escape
(command: &[String])
codex-rs/tui/src/exec_command.rs:11
↓ 6 callersFunctionsubmit_turn
( test: &TestCodex, prompt: &str, approval_policy: AskForApproval, sandbox_policy: SandboxPoli
codex-rs/core/tests/suite/tools.rs:30
↓ 6 callersMethodsummary
(&self)
codex-rs/orchestrator/src/validation.rs:72
↓ 6 callersFunctiontake_bytes_at_char_boundary
(s: &str, maxb: usize)
codex-rs/utils/string/src/lib.rs:3
↓ 6 callersFunctionunified_diff_from_chunks
( path: &Path, chunks: &[UpdateFileChunk], )
codex-rs/apply-patch/src/lib.rs:800
↓ 6 callersFunctionwrite_auth_json
(auth_file: &Path, auth_dot_json: &AuthDotJson)
codex-rs/core/src/auth.rs:288
↓ 5 callersMethodabort_all_tasks
(self: &Arc<Self>, reason: TurnAbortReason)
codex-rs/core/src/tasks/mod.rs:95
↓ 5 callersFunctionappend_error_log
(message: &str)
codex-rs/cloud-tasks-client/src/http.rs:759
↓ 5 callersFunctionarg0_dispatch_or_else
While we want to deploy the Codex CLI as a single executable for simplicity, we also want to expose some of its functionality as distinct CLIs, so we
codex-rs/arg0/src/lib.rs:35
↓ 5 callersMethodarg_type
(&self)
codex-rs/execpolicy/src/arg_matcher.rs:66
↓ 5 callersMethodas_any_mut
(&mut self)
codex-rs/tui/src/history_cell.rs:107
↓ 5 callersFunctionassert_streamed_equals_full
Targeted tests derived from fuzz findings. Each asserts streamed == full render.
codex-rs/tui/src/markdown_stream.rs:667
↓ 5 callersFunctionassess_command_safety
For a command to be run _without_ a sandbox, one of the following must be true: - the user has explicitly approved the command - the command is on th
codex-rs/core/src/safety.rs:92
↓ 5 callersMethodboxed
(cell: T)
codex-rs/tui/src/chatwidget.rs:446
↓ 5 callersFunctionbuild_compacted_history
( initial_context: Vec<ResponseItem>, user_messages: &[String], summary_text: &str, )
codex-rs/core/src/codex/compact.rs:218
↓ 5 callersFunctioncollect_events
Runs the SSE parser on pre-chunked byte slices and returns every event (including any final `Err` from a stream-closure check).
codex-rs/core/src/client.rs:949
↓ 5 callersMethodcommand
Command string without the leading '/'. Provided for compatibility with existing code that expects a method named `command()`.
codex-rs/tui/src/slash_command.rs:78
↓ 5 callersFunctionconvert_call_tool_result_to_function_call_output_payload
( call_tool_result: &CallToolResult, )
codex-rs/core/src/codex.rs:2497
↓ 5 callersFunctioncount_tokens
Count tokens in text using the appropriate tokenizer for the model
codex-rs/tui/src/token_counter.rs:5
↓ 5 callersMethodcurrent_attempt
(&self)
codex-rs/cloud-tasks/src/app.rs:190
↓ 5 callersMethoddesired_height
(&self, width: u16)
codex-rs/tui/src/pager_overlay.rs:346
↓ 5 callersFunctiondiff_summary_for_tests
(changes: &HashMap<PathBuf, FileChange>)
codex-rs/tui/src/diff_render.rs:429
↓ 5 callersFunctiondiscover_prompts_in
Discover prompt files in the given directory, returning entries sorted by name. Non-files are ignored. If the directory does not exist or cannot be re
codex-rs/core/src/custom_prompts.rs:17
↓ 5 callersFunctiondrainEvents
(events: AsyncGenerator<ThreadEvent>)
sdk/typescript/tests/runStreamed.test.ts:206
↓ 5 callersFunctionextract_output_text
(item: &Value)
codex-rs/core/tests/suite/tool_harness.rs:30
↓ 5 callersFunctionfetch_conversation_path
( conversation: &Arc<CodexConversation>, context: &str, )
codex-rs/core/tests/suite/compact_resume_fork.rs:795
↓ 5 callersMethodfinalize
Finalize the active stream. Drain and emit now.
codex-rs/tui/src/streaming/controller.rs:46
↓ 5 callersMethodfind_element_containing
(&self, pos: usize)
codex-rs/tui/src/bottom_pane/textarea.rs:657
↓ 5 callersFunctionfirst_assistant
(messages: &[Value])
codex-rs/core/tests/chat_completions_payload.rs:182
↓ 5 callersFunctionfixture
(name: &str)
codex-rs/backend-client/src/types.rs:319
↓ 5 callersFunctionfooter_height
(props: &FooterProps)
codex-rs/tui/src/bottom_pane/footer.rs:76
↓ 5 callersFunctionformat_exec_output_str
(exec_output: &ExecToolCallOutput)
codex-rs/core/src/tools/mod.rs:218
↓ 5 callersFunctionformat_tokens_compact
(value: u64)
codex-rs/tui/src/status/helpers.rs:106
↓ 5 callersMethodget_account_id
(&self)
codex-rs/core/src/auth.rs:134
↓ 5 callersFunctionget_git_repo_root
Return `true` if the project folder specified by the `Config` is inside a Git repository. The check walks up the directory hierarchy looking for a `.
codex-rs/core/src/git_info.rs:26
↓ 5 callersMethodget_provider
(&self)
codex-rs/core/src/client.rs:423
↓ 5 callersMethodget_token
(&self)
codex-rs/core/src/auth.rs:124
↓ 5 callersFunctiongit_diff_to_remote
Returns the closest git sha to HEAD that is on a remote as well as the diff to that sha.
codex-rs/core/src/git_info.rs:167
↓ 5 callersFunctionhandle_container_exec_with_params
TODO(jif) break this down
codex-rs/core/src/tools/mod.rs:50
↓ 5 callersMethodinit_self_ref
Initialize the self-reference. Must be called exactly once after wrapping in Arc.
codex-rs/core/src/conversation_manager.rs:57
↓ 5 callersMethodinsert_str_at
(&mut self, pos: usize, text: &str)
codex-rs/tui/src/bottom_pane/textarea.rs:70
↓ 5 callersMethodis_stream_continuation
(&self)
codex-rs/tui/src/history_cell.rs:255
↓ 5 callersFunctionload_auth
( codex_home: &Path, enable_codex_api_key_env: bool, )
codex-rs/core/src/auth.rs:232
↓ 5 callersFunctionload_config_or_exit
(cli_config_overrides: CliConfigOverrides)
codex-rs/cli/src/login.rs:164
↓ 5 callersMethodload_more_if_needed
(&mut self, trigger: LoadTrigger)
codex-rs/tui/src/resume_picker.rs:534
↓ 5 callersFunctionlogin_with_api_key
Writes an `auth.json` that contains only the API key.
codex-rs/core/src/auth.rs:223
↓ 5 callersFunctionmaybe_parse_apply_patch
(argv: &[String])
codex-rs/apply-patch/src/lib.rs:99
↓ 5 callersMethodmove_cursor_to_beginning_of_line
(&mut self, move_up_at_bol: bool)
codex-rs/tui/src/bottom_pane/textarea.rs:620
↓ 5 callersFunctionnew_conversation_for_server
( server: &MockServer, codex_home: &TempDir, mutator: F, )
codex-rs/core/tests/suite/review.rs:629
← previousnext →301–400 of 4,129, ranked by callers