Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Stanford-Trinity/ARTEMIS
/ functions
Functions
2,111 in github.com/Stanford-Trinity/ARTEMIS
⨍
Functions
2,111
◇
Types & classes
611
↓ 3 callers
Method
get_writable_roots_with_cwd
Returns the list of writable roots (tailored to the current working directory) together with subpaths that should remain read‑only under each writable
codex-rs/protocol/src/protocol.rs:304
↓ 3 callers
Method
has_full_network_access
(&self)
codex-rs/protocol/src/protocol.rs:293
↓ 3 callers
Function
history_filepath
(config: &Config)
codex-rs/core/src/message_history.rs:51
↓ 3 callers
Method
inject_input
Returns the input if there was no task running to inject into
codex-rs/core/src/codex.rs:878
↓ 3 callers
Method
insert_element
(&mut self, text: &str)
codex-rs/tui/src/bottom_pane/textarea.rs:626
↓ 3 callers
Method
is_complete
(&self)
codex-rs/tui/src/bottom_pane/approval_modal_view.rs:56
↓ 3 callers
Method
is_enabled
(&self)
codex-rs/tui/src/session_log.rs:74
↓ 3 callers
Method
is_exact
(&self)
codex-rs/execpolicy/src/arg_matcher.rs:88
↓ 3 callers
Function
is_inside_git_repo
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/util.rs:28
↓ 3 callers
Method
is_task_running
(&self)
codex-rs/tui/src/bottom_pane/mod.rs:336
↓ 3 callers
Function
jwt_auth_claims
(jwt: &str)
codex-rs/login/src/server.rs:460
↓ 3 callers
Function
line
(s: &str)
codex-rs/tui/src/backtrack_helpers.rs:118
↓ 3 callers
Function
load_config_as_toml
Read `CODEX_HOME/config.toml` and return it as a generic TOML value. Returns an empty TOML table when the file does not exist.
codex-rs/core/src/config.rs:242
↓ 3 callers
Method
log_submission
Log the submission attempt.
supervisor/submissions/base.py:43
↓ 3 callers
Function
lookup
(log_id: u64, offset: usize, config: &Config)
codex-rs/core/src/message_history.rs:198
↓ 3 callers
Function
mount_sse_once
(server: &MockServer, matcher: M, body: String)
codex-rs/core/tests/suite/compact.rs:71
↓ 3 callers
Method
name
(&self)
codex-rs/execpolicy/src/opt.rs:48
↓ 3 callers
Method
on_commit_tick
Step animation: commit at most one queued line and handle end-of-drain cleanup.
codex-rs/tui/src/streaming/controller.rs:156
↓ 3 callers
Function
output_lines
( output: Option<&CommandOutput>, only_err: bool, include_angle_pipe: bool, )
codex-rs/tui/src/history_cell.rs:1131
↓ 3 callers
Method
overlay_forward_event
Forward any event to the overlay and close it if done.
codex-rs/tui/src/app_backtrack.rs:205
↓ 3 callers
Function
parse_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:77
↓ 3 callers
Method
probe_server
Probe whether the server is reachable by hitting the appropriate health endpoint.
codex-rs/ollama/src/client.rs:79
↓ 3 callers
Method
read_stream_until_request_message
(&mut self)
codex-rs/mcp-server/tests/common/mcp_process.rs:300
↓ 3 callers
Method
relative_to_git_root_str
Return a display string for `path` relative to its git root if found, else absolute.
codex-rs/core/src/turn_diff_tracker.rs:188
↓ 3 callers
Method
render_ref
(&self, area: Rect, buf: &mut Buffer)
codex-rs/tui/src/status_indicator_widget.rs:93
↓ 3 callers
Method
reset_for_stream
(&mut self)
codex-rs/tui/src/streaming/mod.rs:56
↓ 3 callers
Method
resize
Updates the Terminal so that internal buffers match the requested area. Requested area will be saved to remain consistent when rendering. This leads
codex-rs/tui/src/custom_terminal.rs:261
↓ 3 callers
Function
run
The worker threads will periodically check `cancel_flag` to see if they should stop processing files.
codex-rs/file-search/src/lib.rs:124
↓ 3 callers
Method
run
( tui: &mut tui::Tui, auth_manager: Arc<AuthManager>, config: Config, initial_
codex-rs/tui/src/app.rs:57
↓ 3 callers
Method
schedule_frame_in
(&self, dur: Duration)
codex-rs/tui/src/tui.rs:211
↓ 3 callers
Function
seek_sequence
Attempt to find the sequence of `pattern` lines within `lines` beginning at or after `start`. Returns the starting index of the match or `None` if not
codex-rs/apply-patch/src/seek_sequence.rs:12
↓ 3 callers
Method
selected_command
Return currently selected command, if any.
codex-rs/tui/src/bottom_pane/command_popup.rs:110
↓ 3 callers
Method
send_codex_tool_call
Returns the id used to make the request so it can be used when correlating notifications.
codex-rs/mcp-server/tests/common/mcp_process.rs:151
↓ 3 callers
Method
send_response
( &mut self, id: RequestId, result: serde_json::Value, )
codex-rs/mcp-server/tests/common/mcp_process.rs:272
↓ 3 callers
Method
send_server_notification
(&self, notification: ServerNotification)
codex-rs/mcp-server/src/outgoing_message.rs:125
↓ 3 callers
Method
set_cursor_position
After drawing this frame, make the cursor visible and put it at the specified (x, y) coordinates. If this method is not called, the cursor will be hid
codex-rs/tui/src/custom_terminal.rs:129
↓ 3 callers
Function
set_project_trusted
Patch `CODEX_HOME/config.toml` project state. Use with caution.
codex-rs/core/src/config.rs:265
↓ 3 callers
Method
set_queued_messages
Replace the queued messages displayed beneath the header.
codex-rs/tui/src/status_indicator_widget.rs:85
↓ 3 callers
Method
set_task
(&self, task: AgentTask)
codex-rs/core/src/codex.rs:578
↓ 3 callers
Function
spawn_child_async
Spawns the appropriate child process for the ExecParams and SandboxPolicy, ensuring the args and environment variables used to create the `Command` (a
codex-rs/core/src/spawn.rs:38
↓ 3 callers
Function
spawn_command_under_linux_sandbox
Spawn a shell tool command under the Linux Landlock+seccomp sandbox helper (codex-linux-sandbox). Unlike macOS Seatbelt where we directly embed the p
codex-rs/core/src/landlock.rs:16
↓ 3 callers
Function
sse
Build an SSE stream body from a list of JSON events.
codex-rs/core/tests/suite/compact.rs:26
↓ 3 callers
Method
step_backtrack_and_highlight
Step selection to the next older user message and update overlay.
codex-rs/tui/src/app_backtrack.rs:162
↓ 3 callers
Method
take_recent_submission_images
(&mut self)
codex-rs/tui/src/bottom_pane/chat_composer.rs:282
↓ 3 callers
Method
timeout_duration
(&self)
codex-rs/core/src/exec.rs:58
↓ 3 callers
Method
to_text_output
(&self)
codex-rs/core/src/exec_command/session_manager.rs:39
↓ 3 callers
Function
transcript_with_users
(count: usize)
codex-rs/tui/src/backtrack_helpers.rs:122
↓ 3 callers
Function
truncate_after_dropping_last_messages
Return a prefix of `items` obtained by dropping the last `n` user messages and all items that follow them.
codex-rs/core/src/conversation_manager.rs:144
↓ 3 callers
Function
truncate_middle
Truncate the middle of a UTF-8 string to at most `max_bytes` bytes, preserving the beginning and the end. Returns the possibly truncated string and `S
codex-rs/core/src/exec_command/session_manager.rs:354
↓ 3 callers
Function
try_parse_bash
Parse the provided bash source using tree-sitter-bash, returning a Tree on success or None if parsing failed.
codex-rs/core/src/bash.rs:7
↓ 3 callers
Function
try_parse_word_only_commands_sequence
Parse a script which may contain multiple simple commands joined only by the safe logical/pipe/sequencing operators: `&&`, `||`, `;`, `|`. Returns `S
codex-rs/core/src/bash.rs:23
↓ 3 callers
Method
write_line
(&mut self, item: &impl serde::Serialize)
codex-rs/core/src/rollout.rs:361
↓ 2 callers
Method
_compute_vulnerability_hash
Compute a hash for a vulnerability to detect duplicates.
supervisor/vulnerability_storage.py:23
↓ 2 callers
Method
_format_duration
Format duration in human-readable format.
supervisor/orchestration/orchestrator.py:601
↓ 2 callers
Method
_format_messages_for_summary
Format messages for summarization prompt.
supervisor/context_manager.py:173
↓ 2 callers
Method
_get_adjusted_end_time
Get adjusted end time accounting for time spent sleeping outside working hours. This effectively pauses the duration during non-worki
supervisor/orchestration/orchestrator.py:594
↓ 2 callers
Method
_load_todo_list
Load the supervisor todo list from file.
supervisor/tools.py:625
↓ 2 callers
Method
_send_directly_to_slack
Send vulnerability report directly to Slack (benchmark mode).
supervisor/triage/triage_tools.py:648
↓ 2 callers
Method
_update_heartbeat
Update supervisor heartbeat file.
supervisor/orchestration/orchestrator.py:423
↓ 2 callers
Method
add_approved_command
(&self, cmd: Vec<String>)
codex-rs/core/src/codex.rs:662
↓ 2 callers
Function
add_trait_impl
( type_name: str, trait_name: str, fields: list[StructField], out: list[str] )
codex-rs/mcp-types/generate_mcp_types.py:362
↓ 2 callers
Method
adjust_pos_out_of_elements
(&self, pos: usize, prefer_start: bool)
codex-rs/tui/src/bottom_pane/textarea.rs:813
↓ 2 callers
Method
allow_reemit_in_turn
Allow emitting the header again within the current turn after a finalize.
codex-rs/tui/src/streaming/mod.rs:61
↓ 2 callers
Function
append_all
(dst: &mut Vec<u8>, src: &[u8])
codex-rs/core/src/exec.rs:222
↓ 2 callers
Method
apply_backtrack_selection
Apply a computed backtrack selection to the overlay and internal counter.
codex-rs/tui/src/app_backtrack.rs:190
↓ 2 callers
Function
apply_toml_override
Apply a single dotted-path override onto a TOML value.
codex-rs/core/src/config.rs:344
↓ 2 callers
Function
assert_message_ends_with
(request_body: &serde_json::Value, text: &str)
codex-rs/core/tests/suite/client.rs:48
↓ 2 callers
Function
assert_message_role
(request_body: &serde_json::Value, role: &str)
codex-rs/core/tests/suite/client.rs:31
↓ 2 callers
Function
assert_message_starts_with
(request_body: &serde_json::Value, text: &str)
codex-rs/core/tests/suite/client.rs:36
↓ 2 callers
Function
assert_tool_names
(body: &serde_json::Value, expected_names: &[&str])
codex-rs/core/tests/suite/prompt_caching.rs:31
↓ 2 callers
Function
assess_safety_for_untrusted_command
( approval_policy: AskForApproval, sandbox_policy: &SandboxPolicy, with_escalated_permissions: boo
codex-rs/core/src/safety.rs:103
↓ 2 callers
Method
beginning_of_line
(&self, pos: usize)
codex-rs/tui/src/bottom_pane/textarea.rs:188
↓ 2 callers
Function
blob_bytes
(path: &Path, mode: &FileMode)
codex-rs/core/src/turn_diff_tracker.rs:430
↓ 2 callers
Method
calculate_sleep_duration
Calculate how long to sleep until working hours start. Args: dt: Reference datetime, defaults to current time
supervisor/working_hours.py:112
↓ 2 callers
Method
cancel_handle
(&self)
codex-rs/login/src/server.rs:64
↓ 2 callers
Method
changes
Returns the changes that would be made by applying the patch.
codex-rs/apply-patch/src/lib.rs:164
↓ 2 callers
Method
check
TODO(mbolin): The idea is that there should be a set of rules defined for a program and the args should be checked against the rules to determine if t
codex-rs/execpolicy/src/program.rs:94
↓ 2 callers
Function
check_patch_boundaries_strict
Checks the start and end lines of the patch text for `apply_patch`, returning an error if they do not match the expected markers.
codex-rs/apply-patch/src/parser.rs:183
↓ 2 callers
Method
clamp_pos_for_insertion
(&self, pos: usize)
codex-rs/tui/src/bottom_pane/textarea.rs:667
↓ 2 callers
Method
clear
(&mut self)
codex-rs/tui/src/markdown_stream.rs:31
↓ 2 callers
Method
clear_ctrl_c_quit_hint
(&mut self)
codex-rs/tui/src/bottom_pane/mod.rs:255
↓ 2 callers
Method
clear_esc_backtrack_hint
(&mut self)
codex-rs/tui/src/chatwidget.rs:1179
↓ 2 callers
Method
close_transcript_overlay
Close transcript overlay and restore normal UI.
codex-rs/tui/src/app_backtrack.rs:111
↓ 2 callers
Function
collect_non_flag_targets_with_flags
( args: &[String], flags_with_vals: &[&str], )
codex-rs/core/src/parse_command.rs:1433
↓ 2 callers
Method
compute_backtrack_selection
Compute normalized target, scroll offset, and highlight for requested step.
codex-rs/tui/src/app_backtrack.rs:170
↓ 2 callers
Function
convert_apply_patch_to_protocol
( action: &ApplyPatchAction, )
codex-rs/core/src/apply_patch.rs:102
↓ 2 callers
Function
count_tokens
(text: &str)
codex-rs/cli/src/main.rs:1556
↓ 2 callers
Function
create_config_toml
Helper: minimal config.toml pointing at mock provider.
codex-rs/mcp-server/tests/suite/codex_message_processor_flow.rs:350
↓ 2 callers
Function
create_config_toml
Create a Codex config that uses the mock server as the model provider. It also uses `approval_policy = "untrusted"` so that we exercise the elicitatio
codex-rs/mcp-server/tests/suite/codex_tool.rs:431
↓ 2 callers
Function
create_config_toml
Helper to create a config.toml; mirrors create_conversation.rs
codex-rs/mcp-server/tests/suite/login.rs:21
↓ 2 callers
Function
create_env_for_mcp_server
`extra_env` comes from the config for an entry in `mcp_servers` in `config.toml`.
codex-rs/mcp-client/src/mcp_client.rs:445
↓ 2 callers
Function
create_env_from_core_vars
()
codex-rs/linux-sandbox/tests/suite/landlock.rs:31
↓ 2 callers
Function
create_mcp_process
(responses: Vec<String>)
codex-rs/mcp-server/tests/suite/codex_tool.rs:415
↓ 2 callers
Function
create_oss_provider_with_base_url
(base_url: &str)
codex-rs/core/src/model_provider_info.rs:312
↓ 2 callers
Function
create_pattern
(pattern: &str)
codex-rs/file-search/src/lib.rs:357
↓ 2 callers
Method
create_request_builder
Construct a `POST` RequestBuilder for the given URL using the provided reqwest Client applying: • provider-specific headers (static + env based) • Bea
codex-rs/core/src/model_provider_info.rs:97
↓ 2 callers
Function
create_temp_git_repo
Creates a temporary git repository with initial commit
codex-rs/chatgpt/tests/suite/apply_command_e2e.rs:8
↓ 2 callers
Method
current_display_col
(&self)
codex-rs/tui/src/bottom_pane/textarea.rs:156
↓ 2 callers
Function
default_user_shell
()
codex-rs/core/src/shell.rs:120
↓ 2 callers
Function
define_struct
( name: str, properties: dict[str, Any], required_props: set[str], description: str | None, )
codex-rs/mcp-types/generate_mcp_types.py:281
← previous
next →
301–400 of 2,111, ranked by callers