MCPcopy Create free account

hub / github.com/Stanford-Trinity/ARTEMIS / functions

Functions2,111 in github.com/Stanford-Trinity/ARTEMIS

↓ 174 callersMethodappend
(self, out: list[str], supports_const: bool)
codex-rs/mcp-types/generate_mcp_types.py:269
↓ 142 callersMethodis_empty
(&self)
codex-rs/apply-patch/src/lib.rs:159
↓ 129 callersMethodas_str
(&self)
codex-rs/core/src/turn_diff_tracker.rs:391
↓ 122 callersMethodsend
Send an event to the app event channel. If it fails, we swallow the error and log it.
codex-rs/tui/src/app_event_sender.rs:18
↓ 110 callersMethodinsert
(&mut self, line: &str)
codex-rs/file-search/src/lib.rs:314
↓ 94 callersMethodis_empty
(&self)
codex-rs/tui/src/bottom_pane/textarea.rs:152
↓ 79 callersFunctionassert_parsed
(args: &[String], expected: Vec<ParsedCommand>)
codex-rs/core/src/parse_command.rs:104
↓ 71 callersMethodset_cursor
(&mut self, pos: usize)
codex-rs/tui/src/bottom_pane/textarea.rs:123
↓ 64 callersMethodtext
(&self)
codex-rs/tui/src/bottom_pane/textarea.rs:62
↓ 56 callersFunctionshlex_split_safe
(s: &str)
codex-rs/core/src/parse_command.rs:96
↓ 53 callersMethodopen
(&self, path: PathBuf)
codex-rs/tui/src/session_log.rs:29
↓ 51 callersMethodhandle_codex_event
(&mut self, event: Event)
codex-rs/tui/src/chatwidget.rs:914
↓ 47 callersMethodsubmit
Submit the `op` wrapped in a `Submission` with a unique ID.
codex-rs/core/src/codex.rs:225
↓ 45 callersMethodclear
(&mut self)
codex-rs/tui/src/streaming/mod.rs:19
↓ 39 callersFunctionshlex_join
(tokens: &[String])
codex-rs/core/src/parse_command.rs:62
↓ 30 callersFunctionta_with
(text: &str)
codex-rs/tui/src/bottom_pane/textarea.rs:997
↓ 29 callersMethodread_stream_until_response_message
( &mut self, request_id: RequestId, )
codex-rs/mcp-server/tests/common/mcp_process.rs:322
↓ 26 callersFunctionmake_chatwidget_manual
--- Helpers for tests that need direct construction and event draining ---
codex-rs/tui/src/chatwidget/tests.rs:152
↓ 25 callersFunctionwait_for_event
( codex: &CodexConversation, predicate: F, )
codex-rs/core/tests/common/lib.rs:95
↓ 24 callersMethodnew_conversation
(&self, config: Config)
codex-rs/core/src/conversation_manager.rs:50
↓ 24 callersFunctionvec_str
(args: &[&str])
codex-rs/core/src/parse_command.rs:100
↓ 23 callersMethodappend_context
(&self, text: &str)
codex-rs/exec/src/realtime_logger.rs:460
↓ 23 callersMethodschedule_frame
(&self)
codex-rs/tui/src/tui.rs:208
↓ 22 callersMethodflush
Obtains a difference between the previous and the current buffer and passes it to the current backend for drawing.
codex-rs/tui/src/custom_terminal.rs:247
↓ 20 callersMethodhandle_key_event
Handle a key event coming from the main UI.
codex-rs/tui/src/bottom_pane/chat_composer.rs:316
↓ 20 callersMethodrequest_redraw
Height (terminal rows) required by the current bottom pane.
codex-rs/tui/src/bottom_pane/mod.rs:381
↓ 19 callersMethodarea
The area of the current frame This is guaranteed not to change during rendering, so may be called multiple times. If your app listens for a resize e
codex-rs/tui/src/custom_terminal.rs:64
↓ 19 callersMethodcount
Returns the current frame count. This method provides access to the frame count, which is a sequence number indicating how many frames have been rend
codex-rs/tui/src/custom_terminal.rs:151
↓ 19 callersMethodhandle_paste
(&mut self, pasted: String)
codex-rs/tui/src/bottom_pane/chat_composer.rs:220
↓ 19 callersFunctionlines_to_plain_strings
(lines: &[ratatui::text::Line<'_>])
codex-rs/tui/src/markdown_stream.rs:548
↓ 19 callersFunctionto_vec
(strings: &[&str])
codex-rs/apply-patch/src/seek_sequence.rs:116
↓ 18 callersMethoddraw
( &mut self, height: u16, draw_fn: impl FnOnce(&mut custom_terminal::Frame), )
codex-rs/tui/src/tui.rs:484
↓ 18 callersMethodframe_requester
(&self)
codex-rs/tui/src/tui.rs:287
↓ 18 callersFunctionload_default_config_for_test
Returns a default `Config` whose on-disk state is confined to the provided temporary directory. Using a per-test directory keeps tests hermetic and av
codex-rs/core/tests/common/lib.rs:13
↓ 18 callersMethodreplace_range
(&mut self, range: std::ops::Range<usize>, text: &str)
codex-rs/tui/src/bottom_pane/textarea.rs:81
↓ 17 callersMethodadd_to_history
(&mut self, cell: impl HistoryCell + 'static)
codex-rs/tui/src/chatwidget.rs:861
↓ 17 callersFunctionlines_to_single_string
(lines: &[ratatui::text::Line<'static>])
codex-rs/tui/src/chatwidget/tests.rs:207
↓ 17 callersMethodlock_unchecked
(&self)
codex-rs/core/src/codex.rs:131
↓ 17 callersMethodrequest_redraw
(&mut self)
codex-rs/tui/src/chatwidget.rs:980
↓ 17 callersMethodsend_error
(&self, id: RequestId, error: JSONRPCErrorError)
codex-rs/mcp-server/src/outgoing_message.rs:141
↓ 16 callersFunctionbuilt_in_model_providers
Built-in default provider list.
codex-rs/core/src/model_provider_info.rs:237
↓ 16 callersFunctiondrain_insert_history
( rx: &mut tokio::sync::mpsc::UnboundedReceiver<AppEvent>, )
codex-rs/tui/src/chatwidget/tests.rs:193
↓ 16 callersMethodpush_fragment
Push an input fragment. May contain newlines.
codex-rs/tui/src/live_wrap.rs:58
↓ 16 callersMethodsend_response
(&self, id: RequestId, response: T)
codex-rs/mcp-server/src/outgoing_message.rs:80
↓ 15 callersFunctionfind_family_for_model
Returns a `ModelFamily` for the given model slug, or `None` if the slug does not match any known model family.
codex-rs/core/src/model_family.rs:72
↓ 15 callersMethodis_empty
Returns true if the composer currently contains no user input.
codex-rs/tui/src/bottom_pane/chat_composer.rs:170
↓ 15 callersFunctionvec_str
(args: &[&str])
codex-rs/core/src/is_safe_command.rs:164
↓ 14 callersFunctionappend_markdown
( markdown_source: &str, lines: &mut Vec<Line<'static>>, config: &Config, )
codex-rs/tui/src/markdown.rs:9
↓ 14 callersMethodcursor_pos_with_state
Compute the on-screen cursor position taking scrolling into account.
codex-rs/tui/src/bottom_pane/textarea.rs:139
↓ 14 callersMethodinitialize
Performs the initialization handshake with the MCP server.
codex-rs/mcp-server/tests/common/mcp_process.rs:89
↓ 14 callersMethodmove_cursor_down
(&mut self)
codex-rs/tui/src/bottom_pane/textarea.rs:536
↓ 14 callersFunctionrun_git_command_with_timeout
Run a git command with a timeout to prevent blocking on large repositories
codex-rs/core/src/git_info.rs:113
↓ 14 callersFunctiontest_config
()
codex-rs/tui/src/markdown_stream.rs:377
↓ 14 callersFunctiontruncate_text
Truncate `text` to `max_graphemes` graphemes. Using graphemes to avoid accidentally truncating in the middle of a multi-codepoint character.
codex-rs/tui/src/text_formatting.rs:77
↓ 13 callersMethodget_unified_diff
Recompute the aggregated unified diff by comparing all of the in-memory snapshots that were collected before the first time they were touched by apply
codex-rs/core/src/turn_diff_tracker.rs:225
↓ 13 callersFunctiongit_blob_sha1_hex
Compute the Git SHA-1 blob object ID for the given content (string). This delegates to the bytes version to avoid UTF-8 lossy conversions here.
codex-rs/core/src/turn_diff_tracker.rs:475
↓ 13 callersMethodinput
(&mut self, event: KeyEvent)
codex-rs/tui/src/bottom_pane/textarea.rs:205
↓ 13 callersMethodrender
(&mut self, area: Rect, buf: &mut Buffer)
codex-rs/tui/src/pager_overlay.rs:92
↓ 13 callersMethodset_viewport_area
Sets the viewport area.
codex-rs/tui/src/custom_terminal.rs:267
↓ 13 callersFunctionwrap_patch
Helper to construct a patch with the given body.
codex-rs/apply-patch/src/lib.rs:700
↓ 12 callersMethodensure_visible
Adjust `scroll_top` so that the current `selected_idx` is visible within the window of `visible_rows`.
codex-rs/tui/src/bottom_pane/scroll_state.rs:67
↓ 12 callersMethodon_patch_begin
Front-run apply patch calls to track the starting contents of any modified files. - Creates an in-memory baseline snapshot for files that already exis
codex-rs/core/src/turn_diff_tracker.rs:54
↓ 12 callersFunctionpadded_emoji_with
Convenience function over `padded_emoji()`.
codex-rs/tui/src/history_cell.rs:241
↓ 12 callersMethodrender
(&self, area: Rect, buf: &mut Buffer)
codex-rs/tui/src/bottom_pane/approval_modal_view.rs:64
↓ 12 callersMethodsend_request
( &mut self, method: &str, params: Option<serde_json::Value>, )
codex-rs/mcp-server/tests/common/mcp_process.rs:255
↓ 12 callersFunctionshort_display_path
Shorten a path to the last component, excluding `build`/`dist`/`node_modules`/`src`. It also pulls out a useful path from a directory such as: - webvi
codex-rs/core/src/parse_command.rs:1335
↓ 11 callersFunctionapply_patch
Applies the patch and prints the result to stdout/stderr.
codex-rs/apply-patch/src/lib.rs:320
↓ 11 callersMethodcursor
(&self)
codex-rs/tui/src/bottom_pane/textarea.rs:119
↓ 11 callersFunctionfuzzy_match
Simple case-insensitive subsequence matcher used for fuzzy filtering. Returns the indices (character positions) of the matched characters in the ORIG
codex-rs/common/src/fuzzy_match.rs:12
↓ 11 callersFunctioninsert_history_lines_to_writer
Like `insert_history_lines`, but writes ANSI to the provided writer. This is intended for testing where a capture buffer is used instead of stdout.
codex-rs/tui/src/insert_history.rs:32
↓ 11 callersFunctionsimulate_stream_markdown_for_tests
( deltas: &[&str], finalize: bool, config: &Config, )
codex-rs/tui/src/markdown_stream.rs:352
↓ 10 callersFunctionget_openai_tools
Returns a list of OpenAiTools based on the provided config and MCP tools. Note that the keys of mcp_tools should be fully qualified names. See [`McpCo
codex-rs/core/src/openai_tools.rs:499
↓ 10 callersMethodis_success
(&self)
codex-rs/protocol/src/protocol.rs:658
↓ 10 callersFunctionnormalize_diff_for_test
(input: &str, root: &Path)
codex-rs/core/src/turn_diff_tracker.rs:479
↓ 10 callersFunctionnormalize_pasted_path
Normalize pasted text that may represent a filesystem path. Supports: - `file://` URLs (converted to local paths) - Windows/UNC paths - shell-escaped
codex-rs/tui/src/clipboard_paste.rs:110
↓ 10 callersMethodpush_delta
(&mut self, delta: &str)
codex-rs/tui/src/markdown_stream.rs:44
↓ 10 callersMethodrender_ref
(&self, area: Rect, buf: &mut Buffer)
codex-rs/tui/src/chatwidget.rs:1235
↓ 10 callersMethodrender_widget_ref
(&mut self, widget: W, area: Rect)
codex-rs/tui/src/custom_terminal.rs:83
↓ 10 callersMethodset_task_running
(&mut self, running: bool)
codex-rs/tui/src/bottom_pane/mod.rs:284
↓ 10 callersMethodset_text
(&mut self, text: &str)
codex-rs/tui/src/bottom_pane/textarea.rs:54
↓ 9 callersFunctionappend_markdown_with_opener_and_cwd
( markdown_source: &str, lines: &mut Vec<Line<'static>>, file_opener: UriBasedFileOpener, cwd:
codex-rs/tui/src/markdown.rs:17
↓ 9 callersMethodattach_image
(&mut self, path: PathBuf, width: u32, height: u32, format_label: &str)
codex-rs/tui/src/bottom_pane/chat_composer.rs:273
↓ 9 callersFunctioncollect_non_flag_targets
(args: &[String])
codex-rs/core/src/parse_command.rs:1393
↓ 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:30
↓ 9 callersFunctionget_user_instructions
Combines `Config::instructions` and `AGENTS.md` (if present) into a single string of instructions.
codex-rs/core/src/project_doc.rs:29
↓ 9 callersMethodinsert_str
(&mut self, text: &str)
codex-rs/tui/src/bottom_pane/chat_composer.rs:309
↓ 9 callersMethodparse_overrides
Parse the raw strings captured from the CLI into a list of `(path, value)` tuples where `value` is a `serde_json::Value`.
codex-rs/common/src/config_override.rs:42
↓ 9 callersFunctionprepend_config_flags
Prepend root-level overrides so they have lower precedence than CLI-specific ones specified after the subcommand (if any).
codex-rs/cli/src/main.rs:2124
↓ 9 callersMethodspawn
Spawn a new [`Codex`] and initialize the session.
codex-rs/core/src/codex.rs:165
↓ 9 callersFunctionsse_completed
Build minimal SSE stream with completed marker using the JSON fixture.
codex-rs/core/tests/suite/client.rs:26
↓ 9 callersFunctionto_response
(response: JSONRPCResponse)
codex-rs/mcp-server/tests/common/lib.rs:13
↓ 9 callersMethodwrite_json_line
(&self, value: serde_json::Value)
codex-rs/tui/src/session_log.rs:48
↓ 8 callersFunctionassert_eq_tool_names
(tools: &[OpenAiTool], expected_names: &[&str])
codex-rs/core/src/openai_tools.rs:571
↓ 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:51
↓ 8 callersMethoddesired_height
(&self, width: u16)
codex-rs/tui/src/bottom_pane/textarea.rs:129
↓ 8 callersMethoddisplay_lines
(&self)
codex-rs/tui/src/history_cell.rs:82
↓ 8 callersFunctionget_default_policy
()
codex-rs/execpolicy/src/lib.rs:42
↓ 8 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:189
↓ 8 callersMethodmove_cursor_to_end_of_line
(&mut self, move_down_at_eol: bool)
codex-rs/tui/src/bottom_pane/textarea.rs:614
next →1–100 of 2,111, ranked by callers