MCPcopy Create free account

hub / github.com/dhanji/g3 / functions

Functions3,053 in github.com/dhanji/g3

↓ 1 callersFunctionconvert_finish_reason
Convert Gemini finish reason to g3 stop reason
crates/g3-providers/src/gemini.rs:322
↓ 1 callersFunctioncount_by_role
Helper to count messages by role
crates/g3-core/tests/mock_provider_integration_test.rs:33
↓ 1 callersFunctioncount_commits_between
Count commits between two refs
crates/studio/src/main.rs:807
↓ 1 callersMethodcount_issues
Count total warnings and errors.
crates/g3-core/src/tools/plan.rs:385
↓ 1 callersFunctioncreate_adapter_for_model
Create an adapter for the given model type, if one exists
crates/g3-providers/src/embedded/adapters/mod.rs:68
↓ 1 callersFunctioncreate_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 callersFunctioncreate_planner_provider
Create an LLM provider for the planner based on config
crates/g3-planner/src/llm.rs:19
↓ 1 callersFunctioncreate_project
(cli: &Cli, workspace_dir: &PathBuf)
crates/g3-cli/src/lib.rs:144
↓ 1 callersFunctioncreate_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 callersMethodcreate_summary_prompt
Create a summary request prompt for the current conversation.
crates/g3-core/src/context_window.rs:289
↓ 1 callersFunctioncreate_test_agent
Helper to create a test agent
crates/g3-core/tests/test_agent_session_id.rs:15
↓ 1 callersFunctioncreate_webdriver_tools
Create WebDriver browser automation tools. These tools enable browser automation via Safari WebDriver.
crates/g3-core/src/toolsets.rs:125
↓ 1 callersMethodcurrent_stage_def
Get the current stage definition
crates/studio/src/sdlc.rs:232
↓ 1 callersMethodcurrent_url
(&self)
crates/g3-core/src/webdriver_session.rs:23
↓ 1 callersMethodcurrent_url
(&self)
crates/g3-computer-control/src/webdriver/chrome.rs:362
↓ 1 callersFunctiondefault_usage
()
crates/g3-core/tests/streaming_completion_test.rs:58
↓ 1 callersMethoddehydrate_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 callersFunctiondetect_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 callersFunctiondetect_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 callersFunctiondetermine_workspace_dir
(cli: &Cli)
crates/g3-cli/src/lib.rs:134
↓ 1 callersFunctiondispatch_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 callersFunctiondisplay_context_progress
Display context window progress bar.
crates/g3-cli/src/utils.rs:14
↓ 1 callersFunctiondisplay_current_stage
Display a compact single-line status for the current stage
crates/studio/src/sdlc.rs:394
↓ 1 callersFunctionduration_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 callersMethodelapsed_display
Format elapsed time for display
crates/g3-core/src/pending_research.rs:74
↓ 1 callersMethodensure_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 callersFunctionestimate_tokens_from_bytes
Estimate token count from byte size
crates/g3-core/src/tools/file_ops.rs:39
↓ 1 callersFunctioneval_equals
Equals: exactly one value must match the expected string.
crates/g3-core/src/tools/datalog.rs:477
↓ 1 callersFunctioneval_matches
Matches: check if any claim value matches a regex pattern.
crates/g3-core/src/tools/datalog.rs:538
↓ 1 callersFunctioneval_yaml_equals
(pred: &Predicate, values: &[YamlValue])
crates/g3-core/src/tools/invariants.rs:606
↓ 1 callersFunctioneval_yaml_matches
(pred: &Predicate, values: &[YamlValue])
crates/g3-core/src/tools/invariants.rs:657
↓ 1 callersMethodexchange_code_for_token
(&self, code: &str)
crates/g3-providers/src/oauth.rs:218
↓ 1 callersFunctionexecute_background_process
Execute the `background_process` tool.
crates/g3-core/src/tools/shell.rs:160
↓ 1 callersFunctionexecute_coach_turn
( player_agent: &Agent<ConsoleUiWriter>, project: &Project, requirements: &str, show_prompt: b
crates/g3-cli/src/autonomous.rs:472
↓ 1 callersMethodexecute_code
Execute code in the specified language
crates/g3-execution/src/lib.rs:166
↓ 1 callersMethodexecute_from_response_with_options
Extract code blocks from LLM response and execute them with UI options
crates/g3-execution/src/lib.rs:43
↓ 1 callersMethodexecute_javascript
Execute JavaScript code (requires Node.js)
crates/g3-execution/src/lib.rs:233
↓ 1 callersFunctionexecute_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 callersFunctionexecute_plan_approve
Execute the `plan_approve` tool.
crates/g3-core/src/tools/plan.rs:935
↓ 1 callersFunctionexecute_plan_read
Execute the `plan_read` tool.
crates/g3-core/src/tools/plan.rs:788
↓ 1 callersFunctionexecute_plan_write
Execute the `plan_write` tool.
crates/g3-core/src/tools/plan.rs:830
↓ 1 callersFunctionexecute_player_turn
( agent: &mut Agent<ConsoleUiWriter>, player_prompt: &str, show_prompt: bool, show_code: bool,
crates/g3-cli/src/autonomous.rs:381
↓ 1 callersMethodexecute_python
Execute Python code
crates/g3-execution/src/lib.rs:180
↓ 1 callersFunctionexecute_read_file
Execute the `read_file` tool.
crates/g3-core/src/tools/file_ops.rs:102
↓ 1 callersFunctionexecute_read_image
Execute the `read_image` tool.
crates/g3-core/src/tools/file_ops.rs:310
↓ 1 callersFunctionexecute_remember
Execute the remember tool. Merges new notes with existing memory and saves to file.
crates/g3-core/src/tools/memory.rs:36
↓ 1 callersFunctionexecute_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 callersFunctionexecute_research_status
Execute the research_status tool - check status of pending research tasks.
crates/g3-core/src/tools/research.rs:201
↓ 1 callersMethodexecute_script
( &mut self, script: &str, args: Vec<serde_json::Value>, )
crates/g3-core/src/webdriver_session.rs:57
↓ 1 callersMethodexecute_script
(&mut self, script: &str, args: Vec<Value>)
crates/g3-computer-control/src/webdriver/chrome.rs:393
↓ 1 callersMethodexecute_search
( &mut self, request: CodeSearchRequest, )
crates/g3-core/src/code_search/searcher.rs:166
↓ 1 callersFunctionexecute_shell
Execute the `shell` tool.
crates/g3-core/src/tools/shell.rs:72
↓ 1 callersMethodexecute_single_task
( &mut self, description: &str, _show_prompt: bool, _show_code: bool,
crates/g3-core/src/lib.rs:955
↓ 1 callersFunctionexecute_str_replace
Execute the `str_replace` tool.
crates/g3-core/src/tools/file_ops.rs:564
↓ 1 callersMethodexecute_task_with_options
( &mut self, description: &str, language: Option<&str>, _auto_execute: bool,
crates/g3-core/src/lib.rs:885
↓ 1 callersMethodexecute_task_with_timing_cancellable
( &mut self, description: &str, _language: Option<&str>, _auto_execute: bool,
crates/g3-core/src/lib.rs:932
↓ 1 callersMethodexecute_tool_call_in_dir
Execute a tool call with an optional working directory (for discovery commands)
crates/g3-core/src/lib.rs:1186
↓ 1 callersMethodexecute_tool_inner_in_dir
( &mut self, tool_call: &ToolCall, working_dir: Option<&str>, )
crates/g3-core/src/lib.rs:3038
↓ 1 callersFunctionexecute_webdriver_back
Execute the `webdriver_back` tool.
crates/g3-core/src/tools/webdriver.rs:634
↓ 1 callersFunctionexecute_webdriver_click
Execute the `webdriver_click` tool.
crates/g3-core/src/tools/webdriver.rs:452
↓ 1 callersFunctionexecute_webdriver_execute_script
Execute the `webdriver_execute_script` tool.
crates/g3-core/src/tools/webdriver.rs:524
↓ 1 callersFunctionexecute_webdriver_find_element
Execute the `webdriver_find_element` tool.
crates/g3-core/src/tools/webdriver.rs:388
↓ 1 callersFunctionexecute_webdriver_find_elements
Execute the `webdriver_find_elements` tool.
crates/g3-core/src/tools/webdriver.rs:415
↓ 1 callersFunctionexecute_webdriver_forward
Execute the `webdriver_forward` tool.
crates/g3-core/src/tools/webdriver.rs:654
↓ 1 callersFunctionexecute_webdriver_get_page_source
Execute the `webdriver_get_page_source` tool.
crates/g3-core/src/tools/webdriver.rs:548
↓ 1 callersFunctionexecute_webdriver_get_title
Execute the `webdriver_get_title` tool.
crates/g3-core/src/tools/webdriver.rs:368
↓ 1 callersFunctionexecute_webdriver_get_url
Execute the `webdriver_get_url` tool.
crates/g3-core/src/tools/webdriver.rs:348
↓ 1 callersFunctionexecute_webdriver_navigate
Execute the `webdriver_navigate` tool.
crates/g3-core/src/tools/webdriver.rs:324
↓ 1 callersFunctionexecute_webdriver_quit
Execute the `webdriver_quit` tool.
crates/g3-core/src/tools/webdriver.rs:694
↓ 1 callersFunctionexecute_webdriver_refresh
Execute the `webdriver_refresh` tool.
crates/g3-core/src/tools/webdriver.rs:674
↓ 1 callersFunctionexecute_webdriver_screenshot
Execute the `webdriver_screenshot` tool.
crates/g3-core/src/tools/webdriver.rs:610
↓ 1 callersFunctionexecute_webdriver_send_keys
Execute the `webdriver_send_keys` tool.
crates/g3-core/src/tools/webdriver.rs:479
↓ 1 callersFunctionexecute_webdriver_start
Execute the `webdriver_start` tool.
crates/g3-core/src/tools/webdriver.rs:117
↓ 1 callersFunctionexecute_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 callersFunctionexecute_write_file
Execute the `write_file` tool.
crates/g3-core/src/tools/file_ops.rs:499
↓ 1 callersFunctionexplore_cpp
Explore C/C++ codebase
crates/g3-planner/src/code_explore.rs:531
↓ 1 callersFunctionexplore_go
Explore Go codebase
crates/g3-planner/src/code_explore.rs:364
↓ 1 callersFunctionexplore_java
Explore Java codebase
crates/g3-planner/src/code_explore.rs:235
↓ 1 callersFunctionexplore_javascript
Explore JavaScript codebase
crates/g3-planner/src/code_explore.rs:490
↓ 1 callersFunctionexplore_kotlin
Explore Kotlin codebase
crates/g3-planner/src/code_explore.rs:279
↓ 1 callersFunctionexplore_markdown
Explore Markdown documentation
crates/g3-planner/src/code_explore.rs:575
↓ 1 callersFunctionexplore_python
Explore Python codebase
crates/g3-planner/src/code_explore.rs:405
↓ 1 callersFunctionexplore_ruby
Explore Ruby codebase
crates/g3-planner/src/code_explore.rs:671
↓ 1 callersFunctionexplore_rust
Explore Rust codebase
crates/g3-planner/src/code_explore.rs:185
↓ 1 callersFunctionexplore_sql
Explore SQL files
crates/g3-planner/src/code_explore.rs:636
↓ 1 callersFunctionexplore_swift
Explore Swift codebase
crates/g3-planner/src/code_explore.rs:323
↓ 1 callersFunctionexplore_typescript
Explore TypeScript codebase
crates/g3-planner/src/code_explore.rs:449
↓ 1 callersFunctionexplore_yaml
Explore YAML configuration files
crates/g3-planner/src/code_explore.rs:610
↓ 1 callersFunctionextract_assistant_text
Extract text content from an assistant message.
crates/g3-cli/src/coach_feedback.rs:87
↓ 1 callersFunctionextract_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 callersMethodextract_code_blocks
Extract code blocks from markdown-formatted text
crates/g3-execution/src/lib.rs:115
↓ 1 callersFunctionextract_final_output_from_messages
Extract final_output from message array
crates/g3-core/src/feedback_extraction.rs:372
↓ 1 callersFunctionextract_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 callersMethodextract_last_block_from
Extract the last block from a given string
crates/g3-core/src/task_result.rs:43
↓ 1 callersFunctionextract_path_and_content
Extract path and content from various argument formats.
crates/g3-core/src/tools/file_ops.rs:644
↓ 1 callersMethodextract_preserved_messages
Extract messages that should be preserved across compaction.
crates/g3-core/src/context_window.rs:374
↓ 1 callersFunctionextract_session_summary
Extract summary from session logs
crates/studio/src/main.rs:867
↓ 1 callersMethodextract_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 callersFunctionextract_tool_calls_from_parts
Extract tool calls from Gemini response parts
crates/g3-providers/src/gemini.rs:284
↓ 1 callersFunctionextract_values_recursive
Recursively extract values from a YAML value into facts.
crates/g3-core/src/tools/datalog.rs:245
← previousnext →601–700 of 3,053, ranked by callers