Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dhanji/g3
/ functions
Functions
3,053 in github.com/dhanji/g3
⨍
Functions
3,053
◇
Types & classes
258
↓ 1 callers
Function
has_cpp_files
(path: &str)
crates/g3-planner/src/code_explore.rs:160
↓ 1 callers
Method
has_errors
Check if there are any errors (not just warnings)
crates/g3-computer-control/src/webdriver/diagnostics.rs:42
↓ 1 callers
Function
has_files_with_extensions
Check if the workspace contains files with any of the given extensions. Scans up to a reasonable depth to avoid slow startup on large repos.
crates/g3-cli/src/language_prompts.rs:50
↓ 1 callers
Function
has_go_files
(path: &str)
crates/g3-planner/src/code_explore.rs:144
↓ 1 callers
Method
has_incomplete_tool_call
(&self)
crates/g3-core/src/streaming_parser.rs:488
↓ 1 callers
Function
has_java_files
(path: &str)
crates/g3-planner/src/code_explore.rs:132
↓ 1 callers
Function
has_javascript_files
(path: &str)
crates/g3-planner/src/code_explore.rs:156
↓ 1 callers
Function
has_kotlin_files
(path: &str)
crates/g3-planner/src/code_explore.rs:136
↓ 1 callers
Function
has_markdown_files
(path: &str)
crates/g3-planner/src/code_explore.rs:168
↓ 1 callers
Function
has_python_files
(path: &str)
crates/g3-planner/src/code_explore.rs:148
↓ 1 callers
Method
has_requirements
Check if requirements file exists
crates/g3-core/src/project.rs:99
↓ 1 callers
Function
has_ruby_files
(path: &str)
crates/g3-planner/src/code_explore.rs:180
↓ 1 callers
Function
has_rust_files
Language detection functions
crates/g3-planner/src/code_explore.rs:128
↓ 1 callers
Function
has_sql_files
(path: &str)
crates/g3-planner/src/code_explore.rs:176
↓ 1 callers
Function
has_swift_files
(path: &str)
crates/g3-planner/src/code_explore.rs:140
↓ 1 callers
Function
has_typescript_files
(path: &str)
crates/g3-planner/src/code_explore.rs:152
↓ 1 callers
Function
has_yaml_files
(path: &str)
crates/g3-planner/src/code_explore.rs:172
↓ 1 callers
Function
highlight_code
Highlight code with syntect.
crates/g3-cli/src/streaming_markdown.rs:873
↓ 1 callers
Function
initialize_logging
Initialize logging based on CLI verbosity settings.
crates/g3-cli/src/utils.rs:156
↓ 1 callers
Method
inject_completed_research
Inject completed research results into the conversation context. Returns the number of research results injected.
crates/g3-core/src/lib.rs:812
↓ 1 callers
Function
install_cargo_llvm_cov
Install cargo-llvm-cov via cargo install
crates/g3-execution/src/lib.rs:477
↓ 1 callers
Function
install_llvm_tools
Install llvm-tools-preview via rustup
crates/g3-execution/src/lib.rs:461
↓ 1 callers
Method
into_tool_call
Convert to final ToolCall if valid (has a name).
crates/g3-providers/src/databricks.rs:101
↓ 1 callers
Function
is_cargo_llvm_cov_installed
Check if cargo-llvm-cov is installed
crates/g3-execution/src/lib.rs:450
↓ 1 callers
Function
is_compact_tool
(tool_name: &str)
crates/g3-core/src/streaming.rs:95
↓ 1 callers
Function
is_connection_error
Check if an error is a recoverable connection error
crates/g3-core/src/streaming.rs:667
↓ 1 callers
Method
is_dehydrated_stub
Check if this message is a dehydrated stub
crates/g3-providers/src/lib.rs:340
↓ 1 callers
Function
is_final_output_tool_call
Check if a message is a final_output tool call
crates/g3-core/src/feedback_extraction.rs:424
↓ 1 callers
Method
is_in_fence
(&self)
crates/g3-core/src/streaming_parser.rs:65
↓ 1 callers
Function
is_incomplete_json_error
Check if a JSON parse error indicates incomplete data (vs. malformed JSON).
crates/g3-providers/src/streaming.rs:39
↓ 1 callers
Function
is_llvm_tools_installed
Check if rustup component llvm-tools-preview is installed
crates/g3-execution/src/lib.rs:437
↓ 1 callers
Method
is_path_prefix
(&self, word: &str)
crates/g3-cli/src/completion.rs:90
↓ 1 callers
Method
is_plan_terminal
Check if the current plan is in a terminal state (all items done or blocked). Returns true if: - A plan exists AND all items are in terminal state (d
crates/g3-core/src/lib.rs:1688
↓ 1 callers
Function
is_potential_delimiter_start
Check if a character could start a markdown delimiter
crates/g3-cli/src/streaming_markdown.rs:868
↓ 1 callers
Method
is_todo_tool_result
Check if message at index i is a result of a TODO tool call.
crates/g3-core/src/context_window.rs:568
↓ 1 callers
Function
list_available_languages
List all available language prompts.
crates/g3-cli/src/language_prompts.rs:132
↓ 1 callers
Method
list_projects
List project directories from ~/projects/, sorted alphabetically.
crates/g3-cli/src/completion.rs:159
↓ 1 callers
Function
list_sessions_for_directory
List all available sessions in the current working directory. Returns sessions sorted by creation time (most recent first).
crates/g3-core/src/session_continuation.rs:492
↓ 1 callers
Function
load_agent_prompt
Load an agent prompt, checking workspace first, then falling back to embedded. Returns the prompt content and a boolean indicating if it was loaded f
crates/g3-cli/src/embedded_agents.rs:45
↓ 1 callers
Function
load_discovery_messages
( agent: &Agent<ConsoleUiWriter>, output: &SimpleOutput, codebase_fast_start: &Option<PathBuf>,
crates/g3-cli/src/autonomous.rs:328
↓ 1 callers
Function
load_embedded_skills
Load embedded skills into the map.
crates/g3-core/src/skills/discovery.rs:92
↓ 1 callers
Function
log_error_to_session
Log an error to the session JSON file. Appends an error entry to the conversation history in the session log.
crates/g3-core/src/session.rs:244
↓ 1 callers
Function
log_stream_error
Log detailed error information when stream produces no content
crates/g3-core/src/streaming.rs:274
↓ 1 callers
Function
make_different_key
()
crates/g3-core/src/tools/envelope.rs:492
↓ 1 callers
Function
make_skill
(name: &str, description: &str, path: &str)
crates/g3-core/src/skills/prompt.rs:56
↓ 1 callers
Function
make_tool_chunk
Create a tool calls chunk (not finished).
crates/g3-providers/src/streaming.rs:98
↓ 1 callers
Function
make_tool_streaming_active
Create a hint chunk indicating a tool call is still actively streaming. This is used to trigger UI updates (like blinking indicators) during long tool
crates/g3-providers/src/streaming.rs:123
↓ 1 callers
Function
make_tool_streaming_hint
Create a hint chunk indicating a tool call is being streamed.
crates/g3-providers/src/streaming.rs:110
↓ 1 callers
Method
mark_complete
Mark session as complete
crates/studio/src/session.rs:124
↓ 1 callers
Method
max_tokens
(&self)
crates/g3-providers/src/mock.rs:503
↓ 1 callers
Function
multi_turn
Create a provider for multi-turn conversation Each call returns the next response in sequence
crates/g3-providers/src/mock.rs:533
↓ 1 callers
Method
name
(&self)
crates/g3-providers/src/mock.rs:491
↓ 1 callers
Method
navigate
(&mut self, url: &str)
crates/g3-core/src/webdriver_session.rs:16
↓ 1 callers
Method
navigate
(&mut self, url: &str)
crates/g3-computer-control/src/webdriver/chrome.rs:354
↓ 1 callers
Method
notify_sse_received
(&self)
crates/g3-core/src/ui_writer.rs:187
↓ 1 callers
Method
page_source
(&self)
crates/g3-core/src/webdriver_session.rs:68
↓ 1 callers
Method
page_source
(&self)
crates/g3-computer-control/src/webdriver/chrome.rs:397
↓ 1 callers
Method
parse_all_json_tool_calls
Parse all JSON tool calls from the accumulated buffer (used at stream end).
crates/g3-core/src/streaming_parser.rs:401
↓ 1 callers
Function
parse_diff_stats
Parse diff stats from str_replace result
crates/g3-core/src/streaming.rs:143
↓ 1 callers
Function
parse_line_range
Parse a line range string like "42" or "42-118". Returns (start_line, optional_end_line).
crates/g3-core/src/tools/plan.rs:445
↓ 1 callers
Method
parse_streaming_response
( &self, mut stream: impl futures_util::Stream<Item = reqwest::Result<Bytes>> + Unpin,
crates/g3-providers/src/anthropic.rs:638
↓ 1 callers
Method
parse_streaming_response
( &self, mut stream: impl futures_util::Stream<Item = reqwest::Result<Bytes>> + Unpin,
crates/g3-providers/src/databricks.rs:399
↓ 1 callers
Method
parse_streaming_response
( &self, mut stream: impl futures_util::Stream<Item = reqwest::Result<Bytes>> + Unpin,
crates/g3-providers/src/openai.rs:104
↓ 1 callers
Function
pass_through_char
Pass through a character without filtering (used inside code fences)
crates/g3-cli/src/filter_json.rs:253
↓ 1 callers
Function
plan_verify
Verify a completed plan. Called when all items are done/blocked. Returns a PlanVerification with results for each done item's evidence. Blocked items
crates/g3-core/src/tools/plan.rs:681
↓ 1 callers
Function
print_cannot_read_requirements_error
( output: &SimpleOutput, agent: &Agent<ConsoleUiWriter>, turn_metrics: &[TurnMetrics], start_t
crates/g3-cli/src/autonomous.rs:659
↓ 1 callers
Method
print_envelope_compact
Print a compact write_envelope output showing pipeline stages. Displays: envelope written → rulespec compiled → verification → token stamped fact_grou
crates/g3-core/src/ui_writer.rs:88
↓ 1 callers
Method
print_g3_progress
Print a g3 status message in progress (no status yet) Format: "g3: <message> ..." Uses centralized G3Status formatting.
crates/g3-cli/src/simple_output.rs:36
↓ 1 callers
Function
print_imgcat
Print image using iTerm2 imgcat protocol with info line.
crates/g3-core/src/tools/file_ops.rs:881
↓ 1 callers
Method
print_inline
(&self, message: &str)
crates/g3-cli/src/simple_output.rs:16
↓ 1 callers
Function
print_no_requirements_error
( output: &SimpleOutput, agent: &Agent<ConsoleUiWriter>, turn_metrics: &[TurnMetrics], start_t
crates/g3-cli/src/autonomous.rs:642
↓ 1 callers
Method
print_tool_arg
(&self, _key: &str, _value: &str)
crates/g3-core/src/ui_writer.rs:179
↓ 1 callers
Method
print_tool_compact
Print a compact single-line tool output (for file operations) Format: " ● tool_name | path [range] | summary | tokens ◉ time" Returns true if the tool
crates/g3-core/src/ui_writer.rs:57
↓ 1 callers
Method
print_tool_header
(&self, _tool_name: &str, _tool_args: Option<&serde_json::Value>)
crates/g3-core/src/ui_writer.rs:178
↓ 1 callers
Method
print_tool_output_header
(&self)
crates/g3-core/src/ui_writer.rs:180
↓ 1 callers
Method
print_tool_output_summary
(&self, _hidden_count: usize)
crates/g3-core/src/ui_writer.rs:183
↓ 1 callers
Method
print_tool_streaming_active
(&self)
crates/g3-core/src/ui_writer.rs:189
↓ 1 callers
Method
print_tool_streaming_hint
(&self, _tool_name: &str)
crates/g3-core/src/ui_writer.rs:188
↓ 1 callers
Method
print_tool_timing
(&self, _duration_str: &str, _tokens_delta: u32, _context_percentage: f32)
crates/g3-core/src/ui_writer.rs:184
↓ 1 callers
Function
print_tree
(node: tree_sitter::Node, source: &str, indent: usize)
crates/g3-core/examples/inspect_python_ast.rs:5
↓ 1 callers
Function
print_tree
(node: tree_sitter::Node, source: &str, indent: usize)
crates/g3-core/examples/inspect_ast.rs:5
↓ 1 callers
Method
process
Update fence state based on new streaming content.
crates/g3-core/src/streaming_parser.rs:44
↓ 1 callers
Method
process_awaiting_json_char
Process a single character in AwaitingJson state
crates/g3-providers/src/embedded/adapters/glm.rs:254
↓ 1 callers
Method
process_char
Process a single character.
crates/g3-cli/src/streaming_markdown.rs:155
↓ 1 callers
Method
process_for_code_fence
Process a character for code fence detection (streaming-safe) Returns the string to emit (empty if content should be suppressed)
crates/g3-providers/src/embedded/adapters/glm.rs:88
↓ 1 callers
Method
process_in_blockquote
Process character while in a blockquote.
crates/g3-cli/src/streaming_markdown.rs:498
↓ 1 callers
Method
process_in_code_block
Process character while in a code block.
crates/g3-cli/src/streaming_markdown.rs:473
↓ 1 callers
Method
process_in_table
Process character while in a table.
crates/g3-cli/src/streaming_markdown.rs:516
↓ 1 callers
Function
process_italic_with_nested_bold
Process italic text that may contain nested bold Matches *text* where the * is not part of
crates/g3-cli/src/streaming_markdown.rs:821
↓ 1 callers
Method
process_json_char
Process a single character in InToolJson state
crates/g3-providers/src/embedded/adapters/glm.rs:294
↓ 1 callers
Method
process_maybe_pattern_char
Process a single character in MaybePattern state
crates/g3-providers/src/embedded/adapters/glm.rs:192
↓ 1 callers
Method
process_normal
Process character in normal (non-block) mode.
crates/g3-cli/src/streaming_markdown.rs:191
↓ 1 callers
Method
process_prose_char
Process a single character in Prose state
crates/g3-providers/src/embedded/adapters/glm.rs:176
↓ 1 callers
Function
process_stream
Process streaming response from Gemini
crates/g3-providers/src/gemini.rs:373
↓ 1 callers
Method
process_tool_name_char
Process a single character in InToolName state
crates/g3-providers/src/embedded/adapters/glm.rs:220
↓ 1 callers
Function
promote_requirements
Move new_requirements.md to current_requirements.md
crates/g3-planner/src/planner.rs:346
↓ 1 callers
Function
prompt_for_approval
Prompt user to approve refined requirements
crates/g3-planner/src/planner.rs:326
↓ 1 callers
Function
prompt_for_codepath
Prompt user for codepath if not provided
crates/g3-planner/src/planner.rs:93
↓ 1 callers
Function
prompt_for_completion
Prompt user to confirm implementation completion
crates/g3-planner/src/planner.rs:385
↓ 1 callers
Function
prompt_for_new_requirements
Prompt for new requirements
crates/g3-planner/src/planner.rs:257
← previous
next →
801–900 of 3,053, ranked by callers