MCPcopy Create free account

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

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

↓ 9 callersFunctionassert_not_match
(script: &str)
codex-rs/apply-patch/src/lib.rs:896
↓ 9 callersMethodattach_image
Attempt to start a burst by retro-capturing recent chars before the cursor.
codex-rs/tui/src/bottom_pane/chat_composer.rs:333
↓ 9 callersMethodcreate
( &self, env_id: &str, prompt: &str, git_ref: &str,
codex-rs/cloud-tasks-client/src/http.rs:219
↓ 9 callersFunctionfile_mode_for_path
(path: &Path)
codex-rs/core/src/turn_diff_tracker.rs:408
↓ 9 callersFunctionformat_json_compact
Format JSON text in a compact single-line format with spaces for better Ratatui wrapping. Ex: `{"a":"b",c:["d","e"]}` -> `{"a": "b", "c": ["d", "e"]}`
codex-rs/tui/src/text_formatting.rs:229
↓ 9 callersFunctionget_codex_user_agent
()
codex-rs/core/src/default_client.rs:70
↓ 9 callersMethodheaders
(&self)
codex-rs/backend-client/src/client.rs:89
↓ 9 callersMethodingest_page
(&mut self, page: ConversationsPage)
codex-rs/tui/src/resume_picker.rs:377
↓ 9 callersMethodline
( &self, label: &'static str, value_spans: Vec<Span<'static>>, )
codex-rs/tui/src/status/format.rs:38
↓ 9 callersFunctionlines_to_strings
(text: &Text<'_>)
codex-rs/tui/src/markdown_render.rs:576
↓ 9 callersFunctionlist_dir_slice
( path: &Path, offset: usize, limit: usize, depth: usize, )
codex-rs/core/src/tools/handlers/list_dir.rs:114
↓ 9 callersFunctionmake_config
Helper that returns a `Config` pointing at `root` and using `limit` as the maximum number of bytes to embed from AGENTS.md. The caller can optionally
codex-rs/core/src/project_doc.rs:208
↓ 9 callersMethodnext_event
(&self)
codex-rs/core/src/codex.rs:232
↓ 9 callersFunctionsetup
()
codex-rs/execpolicy/tests/suite/ls.rs:15
↓ 9 callersMethodsize
Queries the real size of the backend.
codex-rs/tui/src/custom_terminal.rs:395
↓ 9 callersFunctionsse_completed
Build minimal SSE stream with completed marker using the JSON fixture.
codex-rs/core/tests/suite/client.rs:51
↓ 9 callersMethodsubscribe
(&self)
codex-rs/utils/readiness/src/lib.rs:88
↓ 9 callersFunctiontry_read_auth_json
Attempt to read and refresh the `auth.json` file in the given `CODEX_HOME` directory. Returns the full AuthDotJson structure after refreshing if neces
codex-rs/core/src/auth.rs:279
↓ 9 callersMethodwith
(children: impl IntoIterator<Item = Box<dyn Renderable>>)
codex-rs/tui/src/render/renderable.rs:131
↓ 8 callersFunctionadd
(set: &mut std::collections::BTreeSet<String>, raw: &str)
codex-rs/git-apply/src/lib.rs:244
↓ 8 callersMethodadd_boxed_history
(&mut self, cell: Box<dyn HistoryCell>)
codex-rs/tui/src/chatwidget.rs:2007
↓ 8 callersMethodbuild_initial_context
(&self, turn_context: &TurnContext)
codex-rs/core/src/codex.rs:736
↓ 8 callersFunctioncodex_command
(codex_home: &Path)
codex-rs/cli/tests/mcp_add_remove.rs:10
↓ 8 callersMethodcodex_home
(&self)
codex-rs/core/src/config.rs:1988
↓ 8 callersMethodcommit_complete_lines
Render the full buffer and return only the newly completed logical lines since the last commit. When the buffer does not end with a newline, the final
codex-rs/tui/src/markdown_stream.rs:36
↓ 8 callersFunctioncreate_client
Create a reqwest client with default `originator` and `User-Agent` headers set.
codex-rs/core/src/default_client.rs:128
↓ 8 callersFunctioncreate_ghost_commit
Create a ghost commit capturing the current state of the repository's working tree.
codex-rs/git-tooling/src/ghost_commits.rs:64
↓ 8 callersFunctioncreate_test_git_repo
Helper function to create a test git repository
codex-rs/core/src/git_info.rs:598
↓ 8 callersFunctiondeserialize
(deserializer: D)
codex-rs/core/src/config_types.rs:183
↓ 8 callersMethoddesired_height
(&self, width: u16)
codex-rs/tui/src/bottom_pane/textarea.rs:129
↓ 8 callersMethoddrain
(&mut self)
codex-rs/core/src/unified_exec/mod.rs:92
↓ 8 callersMethodfiltered_items
(&self)
codex-rs/tui/src/bottom_pane/command_popup.rs:152
↓ 8 callersMethodflush
Flush all queued writes and wait until they are committed by the writer task.
codex-rs/core/src/rollout/recorder.rs:189
↓ 8 callersFunctionget_default_policy
()
codex-rs/execpolicy/src/lib.rs:42
↓ 8 callersMethodget_next_item_id
(&self)
codex-rs/exec/src/event_processor_with_jsonl_output.rs:136
↓ 8 callersFunctionhighlight_bash_to_lines
Convert a bash script into per-line styled content using tree-sitter's bash highlight query. The highlighter is streamed so multi-line content is spli
codex-rs/tui/src/render/highlight.rs:111
↓ 8 callersFunctionmessages_from
(body: &Value)
codex-rs/core/tests/chat_completions_payload.rs:175
↓ 8 callersMethodmove_cursor_to_end_of_line
(&mut self, move_down_at_eol: bool)
codex-rs/tui/src/bottom_pane/textarea.rs:630
↓ 8 callersMethodmove_cursor_up
(&mut self)
codex-rs/tui/src/bottom_pane/textarea.rs:489
↓ 8 callersFunctionnetwork_disabled
()
codex-rs/core/tests/chat_completions_sse.rs:25
↓ 8 callersFunctionnetwork_disabled
()
codex-rs/core/tests/chat_completions_payload.rs:27
↓ 8 callersFunctionnew_active_mcp_tool_call
( call_id: String, invocation: McpInvocation, )
codex-rs/tui/src/history_cell.rs:973
↓ 8 callersFunctionnew_error_event
(message: String)
codex-rs/tui/src/history_cell.rs:1139
↓ 8 callersFunctionnew_reasoning_summary_block
( full_reasoning_buffer: String, config: &Config, )
codex-rs/tui/src/history_cell.rs:1464
↓ 8 callersFunctionnew_status_output
( config: &Config, total_usage: &TokenUsage, context_usage: Option<&TokenUsage>, session_id: &
codex-rs/tui/src/status/card.rs:61
↓ 8 callersMethodrecord_conversation_items
Records input items: always append to conversation history and persist these response items to rollout.
codex-rs/core/src/codex.rs:684
↓ 8 callersFunctionrun_request
(input: Vec<ResponseItem>)
codex-rs/core/tests/chat_completions_payload.rs:31
↓ 8 callersFunctionsample_tokens
()
codex-rs/rmcp-client/src/oauth.rs:945
↓ 8 callersMethodshow_selection_view
Show a generic list selection view with the provided items.
codex-rs/tui/src/bottom_pane/mod.rs:392
↓ 8 callersFunctionsnapshot_composer_state
(name: &str, enhanced_keys_supported: bool, setup: F)
codex-rs/tui/src/bottom_pane/chat_composer.rs:1721
↓ 8 callersFunctionsnapshot_lines
(name: &str, lines: Vec<RtLine<'static>>, width: u16, height: u16)
codex-rs/tui/src/diff_render.rs:433
↓ 8 callersMethodsubmit_op
Forward an `Op` directly to codex.
codex-rs/tui/src/chatwidget.rs:3055
↓ 8 callersMethodtake_warnings
( &mut self, secondary_used_percent: Option<f64>, secondary_window_minutes: Option<u64
codex-rs/tui/src/chatwidget.rs:143
↓ 8 callersFunctiontext_user_input
(text: String)
codex-rs/core/tests/suite/prompt_caching.rs:30
↓ 8 callersFunctiontruncate_middle
Utilities for truncating large chunks of output while preserving a prefix and suffix on UTF-8 boundaries. Truncate the middle of a UTF-8 string to at
codex-rs/core/src/truncate.rs:8
↓ 8 callersFunctionword_wrap_lines
(lines: I, width_or_options: O)
codex-rs/tui/src/wrapping.rs:244
↓ 8 callersMethodwrite_json_line
(&self, value: serde_json::Value)
codex-rs/tui/src/session_log.rs:44
↓ 7 callersMethodadd_result
(&mut self, agent_id: String, result: ValidationResult)
codex-rs/orchestrator/src/validation.rs:58
↓ 7 callersFunctionappend_markdown_with_opener_and_cwd
( markdown_source: &str, width: Option<usize>, lines: &mut Vec<Line<'static>>, file_opener: Ur
codex-rs/tui/src/markdown.rs:44
↓ 7 callersFunctionassert_network_blocked
(cmd: &[&str])
codex-rs/linux-sandbox/tests/suite/landlock.rs:137
↓ 7 callersFunctionassert_regex_match
(pattern: &str, actual: &'s str)
codex-rs/core/tests/common/lib.rs:19
↓ 7 callersFunctionbegin_exec
--- Small helpers to tersely drive exec begin/end and snapshot active cell ---
codex-rs/tui/src/chatwidget/tests.rs:511
↓ 7 callersMethodblock_until_done
(self)
codex-rs/login/src/server.rs:64
↓ 7 callersMethodcmd
(&self)
codex-rs/core/tests/common/test_codex_exec.rs:13
↓ 7 callersMethodcmd_with_server
(&self, server: &MockServer)
codex-rs/core/tests/common/test_codex_exec.rs:21
↓ 7 callersFunctioncollect_git_info
Collect git repository information from the given working directory using command-line git. Returns None if no git repository is found or if git opera
codex-rs/core/src/git_info.rs:57
↓ 7 callersMethoddefer_or_handle
( &mut self, push: impl FnOnce(&mut InterruptManager), handle: impl FnOnce(&mut Self),
codex-rs/tui/src/chatwidget.rs:1181
↓ 7 callersMethoddelete_backward_word
(&mut self)
codex-rs/tui/src/bottom_pane/textarea.rs:438
↓ 7 callersMethodensure_selected_visible
(&mut self)
codex-rs/tui/src/resume_picker.rs:474
↓ 7 callersFunctionget_platform_sandbox
()
codex-rs/core/src/safety.rs:204
↓ 7 callersFunctioninit_test_repo
Initializes a repository with consistent settings for cross-platform tests.
codex-rs/git-tooling/src/ghost_commits.rs:215
↓ 7 callersMethodinject_input
Returns the input if there was no task running to inject into
codex-rs/core/src/codex.rs:1024
↓ 7 callersMethodkind
(&self)
codex-rs/core/src/tasks/review.rs:19
↓ 7 callersMethodmove_cursor_left
Move the cursor left by a single grapheme cluster.
codex-rs/tui/src/bottom_pane/textarea.rs:478
↓ 7 callersMethodmove_cursor_right
Move the cursor right by a single grapheme cluster.
codex-rs/tui/src/bottom_pane/textarea.rs:484
↓ 7 callersMethodpersist_rollout_items
(&self, items: &[RolloutItem])
codex-rs/core/src/codex.rs:750
↓ 7 callersFunctionpopulate_env
(vars: I, policy: &ShellEnvironmentPolicy)
codex-rs/core/src/exec_env.rs:18
↓ 7 callersFunctionpush_label
(labels: &mut Vec<String>, seen: &mut BTreeSet<String>, label: &str)
codex-rs/tui/src/status/format.rs:85
↓ 7 callersFunctionpush_owned_lines
Append owned copies of borrowed lines to `out`.
codex-rs/tui/src/render/line_utils.rs:21
↓ 7 callersMethodpush_spec_with_parallel_support
( &mut self, spec: ToolSpec, supports_parallel_tool_calls: bool, )
codex-rs/core/src/tools/registry.rs:171
↓ 7 callersMethodrefresh_queued_user_messages
Rebuild and update the queued user messages from the current queue.
codex-rs/tui/src/chatwidget.rs:2458
↓ 7 callersFunctionrender_lines
(lines: &[Line<'static>])
codex-rs/tui/src/status/tests.rs:28
↓ 7 callersMethodrequest_frame
(&self)
codex-rs/tui/src/resume_picker.rs:254
↓ 7 callersMethodrespond
(&self, _: &wiremock::Request)
codex-rs/core/tests/common/responses.rs:314
↓ 7 callersMethodrunStreamed
Provides the input to the agent and streams events as they are produced during the turn.
sdk/typescript/src/thread.ts:56
↓ 7 callersMethodrun_insert
(&mut self, lines: Vec<Line<'static>>)
codex-rs/tui/tests/suite/vt100_history.rs:38
↓ 7 callersFunctionrun_login_server
(opts: ServerOptions)
codex-rs/login/src/server.rs:90
↓ 7 callersFunctionrun_main
Entry point for the `codex cloud` subcommand.
codex-rs/cloud-tasks/src/lib.rs:151
↓ 7 callersFunctionrun_stream
(sse_body: &str)
codex-rs/core/tests/chat_completions_sse.rs:29
↓ 7 callersFunctionsave_oauth_tokens_to_file
(tokens: &StoredOAuthTokens)
codex-rs/rmcp-client/src/oauth.rs:446
↓ 7 callersMethodsend_new_conversation_request
Send a `newConversation` JSON-RPC request.
codex-rs/app-server/tests/common/mcp_process.rs:156
↓ 7 callersFunctionsetup
()
codex-rs/execpolicy/tests/suite/head.rs:16
↓ 7 callersFunctionsnapshot_footer
(name: &str, props: FooterProps)
codex-rs/tui/src/bottom_pane/footer.rs:470
↓ 7 callersFunctionsse_completed
Build minimal SSE stream with completed marker using the JSON fixture.
codex-rs/core/tests/suite/prompt_caching.rs:55
↓ 7 callersFunctiontest_config
(temp_home: &TempDir)
codex-rs/tui/src/status/tests.rs:19
↓ 7 callersFunctiontool_decision_assertion
( call_id: &'a str, expected_decision: &'a str, expected_source: &'a str, )
codex-rs/core/tests/suite/otel.rs:732
↓ 7 callersMethodunified_diff
(&self)
codex-rs/backend-client/src/types.rs:164
↓ 7 callersFunctionworkspace_write_policy
(writable_roots: Vec<&str>, network_access: bool)
codex-rs/core/src/environment_context.rs:183
↓ 6 callersFunctionassistant_msg
(text: &str)
codex-rs/core/src/conversation_manager.rs:293
↓ 6 callersFunctionb64url_no_pad
(bytes: &[u8])
codex-rs/core/src/token_data.rs:142
← previousnext →201–300 of 4,129, ranked by callers