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
convert_finish_reason
Convert Gemini finish reason to g3 stop reason
crates/g3-providers/src/gemini.rs:322
↓ 1 callers
Function
count_by_role
Helper to count messages by role
crates/g3-core/tests/mock_provider_integration_test.rs:33
↓ 1 callers
Function
count_commits_between
Count commits between two refs
crates/studio/src/main.rs:807
↓ 1 callers
Method
count_issues
Count total warnings and errors.
crates/g3-core/src/tools/plan.rs:385
↓ 1 callers
Function
create_adapter_for_model
Create an adapter for the given model type, if one exists
crates/g3-providers/src/embedded/adapters/mod.rs:68
↓ 1 callers
Function
create_agent_with_mock_and_readme
Helper to create an agent with mock provider and custom README content
crates/g3-core/tests/project_context_test.rs:332
↓ 1 callers
Function
create_planner_provider
Create an LLM provider for the planner based on config
crates/g3-planner/src/llm.rs:19
↓ 1 callers
Function
create_project
(cli: &Cli, workspace_dir: &PathBuf)
crates/g3-cli/src/lib.rs:144
↓ 1 callers
Function
create_research_tools
Create research tools for web-based research. These tools enable asynchronous web research via a background scout agent.
crates/g3-core/src/toolsets.rs:320
↓ 1 callers
Method
create_summary_prompt
Create a summary request prompt for the current conversation.
crates/g3-core/src/context_window.rs:289
↓ 1 callers
Function
create_test_agent
Helper to create a test agent
crates/g3-core/tests/test_agent_session_id.rs:15
↓ 1 callers
Function
create_webdriver_tools
Create WebDriver browser automation tools. These tools enable browser automation via Safari WebDriver.
crates/g3-core/src/toolsets.rs:125
↓ 1 callers
Method
current_stage_def
Get the current stage definition
crates/studio/src/sdlc.rs:232
↓ 1 callers
Method
current_url
(&self)
crates/g3-core/src/webdriver_session.rs:23
↓ 1 callers
Method
current_url
(&self)
crates/g3-computer-control/src/webdriver/chrome.rs:362
↓ 1 callers
Function
default_usage
()
crates/g3-core/tests/streaming_completion_test.rs:58
↓ 1 callers
Method
dehydrate_context
Perform ACD dehydration - save current conversation state to a fragment. Called at the end of each turn when ACD is enabled. This saves all non-syste
crates/g3-core/src/lib.rs:1745
↓ 1 callers
Function
detect_chrome_for_testing
Auto-detect Chrome for Testing binary at ~/.chrome-for-testing/. When no `chrome_binary` is configured, this checks for a Chrome for Testing installa
crates/g3-core/src/tools/webdriver.rs:23
↓ 1 callers
Function
detect_chromedriver_for_testing
Auto-detect ChromeDriver for Testing binary at ~/.chrome-for-testing/. When no `chromedriver_binary` is configured, this checks for a Chrome for Test
crates/g3-core/src/tools/webdriver.rs:51
↓ 1 callers
Function
determine_workspace_dir
(cli: &Cli)
crates/g3-cli/src/lib.rs:134
↓ 1 callers
Function
dispatch_tool
Dispatch a tool call to the appropriate handler. This function routes tool calls to their implementations in the `tools/` module, providing a single
crates/g3-core/src/tool_dispatch.rs:18
↓ 1 callers
Function
display_context_progress
Display context window progress bar.
crates/g3-cli/src/utils.rs:14
↓ 1 callers
Function
display_current_stage
Display a compact single-line status for the current stage
crates/studio/src/sdlc.rs:394
↓ 1 callers
Function
duration_color
ANSI color code for duration display based on elapsed time. Returns empty string for fast operations, yellow/orange/red for slower ones.
crates/g3-cli/src/ui_writer_impl.rs:160
↓ 1 callers
Method
elapsed_display
Format elapsed time for display
crates/g3-core/src/pending_research.rs:74
↓ 1 callers
Method
ensure_context_capacity
Ensure context window has capacity before streaming. Tries thinning first (cheap), then compaction (requires LLM call). Returns Ok(true) if request.me
crates/g3-core/src/lib.rs:1297
↓ 1 callers
Function
estimate_tokens_from_bytes
Estimate token count from byte size
crates/g3-core/src/tools/file_ops.rs:39
↓ 1 callers
Function
eval_equals
Equals: exactly one value must match the expected string.
crates/g3-core/src/tools/datalog.rs:477
↓ 1 callers
Function
eval_matches
Matches: check if any claim value matches a regex pattern.
crates/g3-core/src/tools/datalog.rs:538
↓ 1 callers
Function
eval_yaml_equals
(pred: &Predicate, values: &[YamlValue])
crates/g3-core/src/tools/invariants.rs:606
↓ 1 callers
Function
eval_yaml_matches
(pred: &Predicate, values: &[YamlValue])
crates/g3-core/src/tools/invariants.rs:657
↓ 1 callers
Method
exchange_code_for_token
(&self, code: &str)
crates/g3-providers/src/oauth.rs:218
↓ 1 callers
Function
execute_background_process
Execute the `background_process` tool.
crates/g3-core/src/tools/shell.rs:160
↓ 1 callers
Function
execute_coach_turn
( player_agent: &Agent<ConsoleUiWriter>, project: &Project, requirements: &str, show_prompt: b
crates/g3-cli/src/autonomous.rs:472
↓ 1 callers
Method
execute_code
Execute code in the specified language
crates/g3-execution/src/lib.rs:166
↓ 1 callers
Method
execute_from_response_with_options
Extract code blocks from LLM response and execute them with UI options
crates/g3-execution/src/lib.rs:43
↓ 1 callers
Method
execute_javascript
Execute JavaScript code (requires Node.js)
crates/g3-execution/src/lib.rs:233
↓ 1 callers
Function
execute_load_toolset
Execute the load_toolset tool. This tool loads a named toolset and returns the tool definitions so the agent learns how to use the newly available to
crates/g3-core/src/tools/toolsets.rs:21
↓ 1 callers
Function
execute_plan_approve
Execute the `plan_approve` tool.
crates/g3-core/src/tools/plan.rs:935
↓ 1 callers
Function
execute_plan_read
Execute the `plan_read` tool.
crates/g3-core/src/tools/plan.rs:788
↓ 1 callers
Function
execute_plan_write
Execute the `plan_write` tool.
crates/g3-core/src/tools/plan.rs:830
↓ 1 callers
Function
execute_player_turn
( agent: &mut Agent<ConsoleUiWriter>, player_prompt: &str, show_prompt: bool, show_code: bool,
crates/g3-cli/src/autonomous.rs:381
↓ 1 callers
Method
execute_python
Execute Python code
crates/g3-execution/src/lib.rs:180
↓ 1 callers
Function
execute_read_file
Execute the `read_file` tool.
crates/g3-core/src/tools/file_ops.rs:102
↓ 1 callers
Function
execute_read_image
Execute the `read_image` tool.
crates/g3-core/src/tools/file_ops.rs:310
↓ 1 callers
Function
execute_remember
Execute the remember tool. Merges new notes with existing memory and saves to file.
crates/g3-core/src/tools/memory.rs:36
↓ 1 callers
Function
execute_research
Execute the research tool - spawns scout agent in background and returns immediately. This is the **async** version of research. It: 1. Registers a n
crates/g3-core/src/tools/research.rs:38
↓ 1 callers
Function
execute_research_status
Execute the research_status tool - check status of pending research tasks.
crates/g3-core/src/tools/research.rs:201
↓ 1 callers
Method
execute_script
( &mut self, script: &str, args: Vec<serde_json::Value>, )
crates/g3-core/src/webdriver_session.rs:57
↓ 1 callers
Method
execute_script
(&mut self, script: &str, args: Vec<Value>)
crates/g3-computer-control/src/webdriver/chrome.rs:393
↓ 1 callers
Method
execute_search
( &mut self, request: CodeSearchRequest, )
crates/g3-core/src/code_search/searcher.rs:166
↓ 1 callers
Function
execute_shell
Execute the `shell` tool.
crates/g3-core/src/tools/shell.rs:72
↓ 1 callers
Method
execute_single_task
( &mut self, description: &str, _show_prompt: bool, _show_code: bool,
crates/g3-core/src/lib.rs:955
↓ 1 callers
Function
execute_str_replace
Execute the `str_replace` tool.
crates/g3-core/src/tools/file_ops.rs:564
↓ 1 callers
Method
execute_task_with_options
( &mut self, description: &str, language: Option<&str>, _auto_execute: bool,
crates/g3-core/src/lib.rs:885
↓ 1 callers
Method
execute_task_with_timing_cancellable
( &mut self, description: &str, _language: Option<&str>, _auto_execute: bool,
crates/g3-core/src/lib.rs:932
↓ 1 callers
Method
execute_tool_call_in_dir
Execute a tool call with an optional working directory (for discovery commands)
crates/g3-core/src/lib.rs:1186
↓ 1 callers
Method
execute_tool_inner_in_dir
( &mut self, tool_call: &ToolCall, working_dir: Option<&str>, )
crates/g3-core/src/lib.rs:3038
↓ 1 callers
Function
execute_webdriver_back
Execute the `webdriver_back` tool.
crates/g3-core/src/tools/webdriver.rs:634
↓ 1 callers
Function
execute_webdriver_click
Execute the `webdriver_click` tool.
crates/g3-core/src/tools/webdriver.rs:452
↓ 1 callers
Function
execute_webdriver_execute_script
Execute the `webdriver_execute_script` tool.
crates/g3-core/src/tools/webdriver.rs:524
↓ 1 callers
Function
execute_webdriver_find_element
Execute the `webdriver_find_element` tool.
crates/g3-core/src/tools/webdriver.rs:388
↓ 1 callers
Function
execute_webdriver_find_elements
Execute the `webdriver_find_elements` tool.
crates/g3-core/src/tools/webdriver.rs:415
↓ 1 callers
Function
execute_webdriver_forward
Execute the `webdriver_forward` tool.
crates/g3-core/src/tools/webdriver.rs:654
↓ 1 callers
Function
execute_webdriver_get_page_source
Execute the `webdriver_get_page_source` tool.
crates/g3-core/src/tools/webdriver.rs:548
↓ 1 callers
Function
execute_webdriver_get_title
Execute the `webdriver_get_title` tool.
crates/g3-core/src/tools/webdriver.rs:368
↓ 1 callers
Function
execute_webdriver_get_url
Execute the `webdriver_get_url` tool.
crates/g3-core/src/tools/webdriver.rs:348
↓ 1 callers
Function
execute_webdriver_navigate
Execute the `webdriver_navigate` tool.
crates/g3-core/src/tools/webdriver.rs:324
↓ 1 callers
Function
execute_webdriver_quit
Execute the `webdriver_quit` tool.
crates/g3-core/src/tools/webdriver.rs:694
↓ 1 callers
Function
execute_webdriver_refresh
Execute the `webdriver_refresh` tool.
crates/g3-core/src/tools/webdriver.rs:674
↓ 1 callers
Function
execute_webdriver_screenshot
Execute the `webdriver_screenshot` tool.
crates/g3-core/src/tools/webdriver.rs:610
↓ 1 callers
Function
execute_webdriver_send_keys
Execute the `webdriver_send_keys` tool.
crates/g3-core/src/tools/webdriver.rs:479
↓ 1 callers
Function
execute_webdriver_start
Execute the `webdriver_start` tool.
crates/g3-core/src/tools/webdriver.rs:117
↓ 1 callers
Function
execute_write_envelope
Execute the `write_envelope` tool. Accepts YAML facts, writes the action envelope, runs verification, and displays a compact pipeline summary via the
crates/g3-core/src/tools/envelope.rs:260
↓ 1 callers
Function
execute_write_file
Execute the `write_file` tool.
crates/g3-core/src/tools/file_ops.rs:499
↓ 1 callers
Function
explore_cpp
Explore C/C++ codebase
crates/g3-planner/src/code_explore.rs:531
↓ 1 callers
Function
explore_go
Explore Go codebase
crates/g3-planner/src/code_explore.rs:364
↓ 1 callers
Function
explore_java
Explore Java codebase
crates/g3-planner/src/code_explore.rs:235
↓ 1 callers
Function
explore_javascript
Explore JavaScript codebase
crates/g3-planner/src/code_explore.rs:490
↓ 1 callers
Function
explore_kotlin
Explore Kotlin codebase
crates/g3-planner/src/code_explore.rs:279
↓ 1 callers
Function
explore_markdown
Explore Markdown documentation
crates/g3-planner/src/code_explore.rs:575
↓ 1 callers
Function
explore_python
Explore Python codebase
crates/g3-planner/src/code_explore.rs:405
↓ 1 callers
Function
explore_ruby
Explore Ruby codebase
crates/g3-planner/src/code_explore.rs:671
↓ 1 callers
Function
explore_rust
Explore Rust codebase
crates/g3-planner/src/code_explore.rs:185
↓ 1 callers
Function
explore_sql
Explore SQL files
crates/g3-planner/src/code_explore.rs:636
↓ 1 callers
Function
explore_swift
Explore Swift codebase
crates/g3-planner/src/code_explore.rs:323
↓ 1 callers
Function
explore_typescript
Explore TypeScript codebase
crates/g3-planner/src/code_explore.rs:449
↓ 1 callers
Function
explore_yaml
Explore YAML configuration files
crates/g3-planner/src/code_explore.rs:610
↓ 1 callers
Function
extract_assistant_text
Extract text content from an assistant message.
crates/g3-cli/src/coach_feedback.rs:87
↓ 1 callers
Function
extract_coach_feedback
Extract coach feedback using multiple fallback methods Tries extraction in this order: 1. Session log file (most reliable for final_output tool calls
crates/g3-core/src/feedback_extraction.rs:91
↓ 1 callers
Method
extract_code_blocks
Extract code blocks from markdown-formatted text
crates/g3-execution/src/lib.rs:115
↓ 1 callers
Function
extract_final_output_from_messages
Extract final_output from message array
crates/g3-core/src/feedback_extraction.rs:372
↓ 1 callers
Function
extract_from_logs
Extract coach feedback by reading from the coach agent's specific log file. Uses the coach agent's session ID to find the exact log file.
crates/g3-cli/src/coach_feedback.rs:16
↓ 1 callers
Method
extract_last_block_from
Extract the last block from a given string
crates/g3-core/src/task_result.rs:43
↓ 1 callers
Function
extract_path_and_content
Extract path and content from various argument formats.
crates/g3-core/src/tools/file_ops.rs:644
↓ 1 callers
Method
extract_preserved_messages
Extract messages that should be preserved across compaction.
crates/g3-core/src/context_window.rs:374
↓ 1 callers
Function
extract_session_summary
Extract summary from session logs
crates/studio/src/main.rs:867
↓ 1 callers
Method
extract_summary
Extract a summary from the response (for coach feedback in autonomous mode) This looks for the last substantial text block in the response. Kept for b
crates/g3-core/src/task_result.rs:23
↓ 1 callers
Function
extract_tool_calls_from_parts
Extract tool calls from Gemini response parts
crates/g3-providers/src/gemini.rs:284
↓ 1 callers
Function
extract_values_recursive
Recursively extract values from a YAML value into facts.
crates/g3-core/src/tools/datalog.rs:245
← previous
next →
601–700 of 3,053, ranked by callers