MCPcopy Create free account

hub / github.com/dhanji/g3 / functions

Functions3,053 in github.com/dhanji/g3

↓ 1 callersMethodfail
(reason: impl Into<String>)
crates/g3-core/src/tools/invariants.rs:548
↓ 1 callersMethodfile_path
Get the file path for this fragment.
crates/g3-core/src/acd.rs:143
↓ 1 callersMethodfile_prefix
(&self)
crates/g3-core/src/context_window.rs:45
↓ 1 callersFunctionfind_chromedriver_path
()
crates/g3-computer-control/src/webdriver/diagnostics.rs:458
↓ 1 callersMethodfind_element
Find a child element by CSS selector
crates/g3-computer-control/src/webdriver/mod.rs:103
↓ 1 callersMethodfind_elements
( &mut self, selector: &str, )
crates/g3-core/src/webdriver_session.rs:47
↓ 1 callersMethodfind_elements
Find multiple child elements by CSS selector
crates/g3-computer-control/src/webdriver/mod.rs:109
↓ 1 callersFunctionfind_fallback_title
Find a fallback title from the first few lines of content.
crates/g3-cli/src/project_files.rs:149
↓ 1 callersMethodfind_matching_open_delimiter
Find a matching open delimiter in the stack.
crates/g3-cli/src/streaming_markdown.rs:434
↓ 1 callersMethodfind_resume_point
Find the first incomplete stage (for resumption)
crates/studio/src/sdlc.rs:318
↓ 1 callersFunctionfix_mixed_quotes_in_json
(json_str: &str)
crates/g3-core/src/utils.rs:499
↓ 1 callersMethodflush_incomplete
Flush any incomplete constructs.
crates/g3-cli/src/streaming_markdown.rs:729
↓ 1 callersFunctionflush_json_tool_filter
Flushes any pending content from the JSON filter. Call this at the end of streaming to ensure any buffered newlines or whitespace that wasn't followe
crates/g3-cli/src/filter_json.rs:427
↓ 1 callersMethodforce_thin
Manually trigger context thinning regardless of thresholds
crates/g3-core/src/lib.rs:1266
↓ 1 callersMethodforce_thin_all
Manually trigger context thinning for the ENTIRE context window Unlike force_thin which only processes the first third, this processes all messages
crates/g3-core/src/lib.rs:1273
↓ 1 callersMethodformat_cache_stats
(&self, stats: &mut String)
crates/g3-core/src/stats.rs:190
↓ 1 callersFunctionformat_code_search_summary
Format a code_search result summary.
crates/g3-core/src/streaming.rs:513
↓ 1 callersFunctionformat_compact_tool_summary
Format a compact summary for a successful compact tool
crates/g3-core/src/streaming.rs:120
↓ 1 callersMethodformat_context_window
(&self, stats: &mut String)
crates/g3-core/src/stats.rs:47
↓ 1 callersMethodformat_conversation_history
(&self, stats: &mut String)
crates/g3-core/src/stats.rs:121
↓ 1 callersFunctionformat_duration
Format seconds as human-readable duration
crates/studio/src/sdlc.rs:478
↓ 1 callersFunctionformat_duration_ms
Format milliseconds as a human-readable duration string.
crates/g3-cli/src/metrics.rs:92
↓ 1 callersFunctionformat_envelope_yaml
Format an action envelope as pretty YAML with comments.
crates/g3-core/src/tools/invariants.rs:777
↓ 1 callersMethodformat_header
Format a header line.
crates/g3-cli/src/streaming_markdown.rs:575
↓ 1 callersFunctionformat_inline_code_only
Format only inline code within text (used for nested formatting in links)
crates/g3-cli/src/streaming_markdown.rs:793
↓ 1 callersFunctionformat_load_toolset_summary
Format a load_toolset result summary.
crates/g3-core/src/streaming.rs:551
↓ 1 callersMethodformat_messages
Format messages according to the model's native chat template.
crates/g3-providers/src/embedded/provider.rs:191
↓ 1 callersFunctionformat_nested_bold
Format nested bold within italic text
crates/g3-cli/src/streaming_markdown.rs:811
↓ 1 callersFunctionformat_nested_italic
Format nested italic within bold text
crates/g3-cli/src/streaming_markdown.rs:802
↓ 1 callersMethodformat_optimization_metrics
(&self, stats: &mut String)
crates/g3-core/src/stats.rs:72
↓ 1 callersMethodformat_performance_metrics
(&self, stats: &mut String)
crates/g3-core/src/stats.rs:101
↓ 1 callersFunctionformat_plan_approve_summary
Format a plan_approve result summary.
crates/g3-core/src/streaming.rs:532
↓ 1 callersFunctionformat_plan_as_markdown
Format a plan as markdown with embedded YAML.
crates/g3-core/src/tools/plan.rs:636
↓ 1 callersMethodformat_provider_info
(&self, stats: &mut String)
crates/g3-core/src/stats.rs:237
↓ 1 callersFunctionformat_session_time
Format a session's created_at timestamp for display
crates/g3-core/src/session_continuation.rs:545
↓ 1 callersFunctionformat_size
Format the file size in a human-readable way.
crates/g3-core/src/tools/memory.rs:26
↓ 1 callersFunctionformat_size
Format a byte size for display.
crates/g3-cli/src/project_files.rs:115
↓ 1 callersFunctionformat_timestamp_for_filename
Format a timestamp for filenames Format: YYYY-MM-DD_HH-MM-SS (filesystem-safe)
crates/g3-planner/src/history.rs:22
↓ 1 callersMethodformat_tool_call_metrics
(&self, stats: &mut String)
crates/g3-core/src/stats.rs:150
↓ 1 callersFunctionformat_tool_output_summary
Format tool output lines for display, respecting machine vs human mode.
crates/g3-core/src/streaming.rs:401
↓ 1 callersFunctionformat_tool_result_summary
Determine how to format a tool result for display.
crates/g3-core/src/streaming.rs:61
↓ 1 callersFunctionformat_verification_results
Format verification results as a string for display. Uses loud formatting for warnings and errors. If session_id is provided, also checks that envelop
crates/g3-core/src/tools/plan.rs:723
↓ 1 callersFunctionformat_yaml_value_markdown
Format a YAML value as indented markdown.
crates/g3-core/src/tools/invariants.rs:995
↓ 1 callersMethodforward
(&mut self)
crates/g3-core/src/webdriver_session.rs:106
↓ 1 callersFunctiongenerate_commit_message
Generate a git commit message based on the requirements Uses the planner LLM to generate a commit summary and description. Returns (summary, descript
crates/g3-planner/src/llm.rs:158
↓ 1 callersFunctiongenerate_requirements_summary
Generate a summary of requirements for planner_history.txt Uses the planner LLM to generate a concise summary of the requirements. The summary is at
crates/g3-planner/src/llm.rs:112
↓ 1 callersFunctiongenerate_short_id
Generate a short unique ID (first 8 chars of UUID v4).
crates/g3-core/src/paths.rs:120
↓ 1 callersFunctiongenerate_summary
Generate a summary of the pipeline run
crates/studio/src/sdlc.rs:407
↓ 1 callersFunctionget_agent_language_prompts_for_workspace
( workspace_dir: &Path, agent_name: &str, )
crates/g3-cli/src/language_prompts.rs:147
↓ 1 callersMethodget_anthropic_config
Get Anthropic config by name
crates/g3-config/src/lib.rs:676
↓ 1 callersMethodget_api_url
(&self, stream: bool)
crates/g3-providers/src/gemini.rs:100
↓ 1 callersMethodget_authorization_url
(&self)
crates/g3-providers/src/oauth.rs:195
↓ 1 callersFunctionget_available_agents
Get a map of all available agents (both embedded and from workspace).
crates/g3-cli/src/embedded_agents.rs:60
↓ 1 callersFunctionget_background_processes_dir
Get the path to the background processes directory. Returns `.g3/background_processes/` in the workspace or current directory.
crates/g3-core/src/paths.rs:46
↓ 1 callersFunctionget_chrome_version
(config_binary: Option<&str>)
crates/g3-computer-control/src/webdriver/diagnostics.rs:516
↓ 1 callersFunctionget_chromedriver_version
()
crates/g3-computer-control/src/webdriver/diagnostics.rs:507
↓ 1 callersMethodget_coach_provider
Get the provider reference for coach mode in autonomous execution
crates/g3-config/src/lib.rs:635
↓ 1 callersMethodget_config
(&self)
crates/g3-core/src/lib.rs:1567
↓ 1 callersFunctionget_current_branch
Get the current git branch name
crates/g3-planner/src/git.rs:67
↓ 1 callersMethodget_databricks_config
Get Databricks config by name
crates/g3-config/src/lib.rs:686
↓ 1 callersFunctionget_embedded_skill
Get an embedded skill by name.
crates/g3-core/src/skills/embedded.rs:35
↓ 1 callersFunctionget_errors_dir
Get the path to the errors directory. Returns `.g3/errors/` in the workspace or current directory.
crates/g3-core/src/paths.rs:39
↓ 1 callersFunctionget_file_modified_time
Get the modified time of a file as a formatted string
crates/g3-planner/src/state.rs:88
↓ 1 callersFunctionget_head_commit
Get the current HEAD commit hash
crates/studio/src/main.rs:792
↓ 1 callersFunctionget_initial_discovery_messages
Generates initial discovery messages for fast codebase exploration. This function: 1. Runs explore_codebase to get a codebase report 2. Sends the rep
crates/g3-planner/src/lib.rs:51
↓ 1 callersFunctionget_latest_continuation_path
Get the path to the latest.json continuation file This follows the symlink to get the actual path
crates/g3-core/src/session_continuation.rs:114
↓ 1 callersFunctionget_memory_path
Get the path to the memory file. Memory is stored at `analysis/memory.md` in the working directory (version controlled).
crates/g3-core/src/tools/memory.rs:18
↓ 1 callersFunctionget_oauth_token_async
( host: &str, client_id: &str, redirect_url: &str, scopes: &[String], )
crates/g3-providers/src/oauth.rs:353
↓ 1 callersMethodget_openai_config
Get OpenAI config by name
crates/g3-config/src/lib.rs:681
↓ 1 callersFunctionget_or_create_verification_key
Read or create the verification key at `~/.g3/verification.key`. - If the key file exists, reads and returns it. - If it doesn't exist, generates 32
crates/g3-core/src/tools/envelope.rs:59
↓ 1 callersFunctionget_or_init_backend
Get or initialize the global llama.cpp backend
crates/g3-providers/src/embedded/provider.rs:39
↓ 1 callersMethodget_player_provider
Get the provider reference for player mode in autonomous execution
crates/g3-config/src/lib.rs:643
↓ 1 callersMethodget_provider
Get the default LLM provider
crates/g3-core/src/lib.rs:786
↓ 1 callersMethodget_requests
Get all requests that were made to this provider
crates/g3-providers/src/mock.rs:397
↓ 1 callersMethodget_stop_sequences
Get stop sequences based on model type.
crates/g3-providers/src/embedded/provider.rs:201
↓ 1 callersFunctionget_system_prompt_for_non_native_with_skills
System prompt for providers without native tool calling, with skills support.
crates/g3-core/src/prompts.rs:152
↓ 1 callersMethodget_text_before_tool_calls
Get only the text content before the first JSON tool call. Returns the full buffer if no tool calls are found. This is used to save the "preamble" tex
crates/g3-core/src/streaming_parser.rs:466
↓ 1 callersFunctionget_tools_output_dir
Get the tools output directory for a session. Returns .g3/sessions/<session_id>/tools/
crates/g3-core/src/paths.rs:115
↓ 1 callersFunctiongreet
(name string)
examples/test_code/example.go:10
↓ 1 callersFunctiongreet
examples/test_code/example.c:3
↓ 1 callersMethodgreet
examples/test_code/example.cpp:12
↓ 1 callersMethodgreet
()
examples/test_code/Example.java:8
↓ 1 callersMethodhandle_block_delta
Returns chunks to send for a content_block_delta event.
crates/g3-providers/src/anthropic.rs:207
↓ 1 callersMethodhandle_block_start
Returns chunks to send for a content_block_start event.
crates/g3-providers/src/anthropic.rs:178
↓ 1 callersMethodhandle_block_stop
Returns chunks to send when a content block finishes.
crates/g3-providers/src/anthropic.rs:223
↓ 1 callersFunctionhandle_buffering_char
Handle a character in Buffering state
crates/g3-cli/src/filter_json.rs:292
↓ 1 callersFunctionhandle_command
( input: &str, output: &SimpleOutput, accumulated_requirements: &[String], cli: &Cli, comb
crates/g3-cli/src/accumulative.rs:238
↓ 1 callersFunctionhandle_command
Handle a control command. Returns true if the command was handled and the loop should continue.
crates/g3-cli/src/commands.rs:29
↓ 1 callersMethodhandle_delimiter
Handle a detected delimiter.
crates/g3-cli/src/streaming_markdown.rs:394
↓ 1 callersFunctionhandle_execution_error
Handle execution errors with detailed logging and user-friendly output.
crates/g3-cli/src/task_execution.rs:109
↓ 1 callersMethodhandle_message_delta
(&mut self, event: &AnthropicStreamEvent)
crates/g3-providers/src/anthropic.rs:246
↓ 1 callersMethodhandle_message_start
(&mut self, event: &AnthropicStreamEvent)
crates/g3-providers/src/anthropic.rs:162
↓ 1 callersMethodhandle_message_stop
(&mut self)
crates/g3-providers/src/anthropic.rs:255
↓ 1 callersMethodhandle_newline
Handle a newline character.
crates/g3-cli/src/streaming_markdown.rs:445
↓ 1 callersFunctionhandle_recovery
Handle recovery situation
crates/g3-planner/src/planner.rs:210
↓ 1 callersFunctionhandle_streaming_char
Handle a character in Streaming state
crates/g3-cli/src/filter_json.rs:195
↓ 1 callersFunctionhandle_suppressing_char
Handle a character in Suppressing state (string-aware brace counting)
crates/g3-cli/src/filter_json.rs:341
↓ 1 callersMethodhandles
(&self, model_type: &str)
crates/g3-providers/src/embedded/adapters/glm.rs:361
↓ 1 callersMethodhas_any
Check if any content was loaded.
crates/g3-cli/src/display.rs:150
↓ 1 callersFunctionhas_consecutive_assistant_messages
Check if conversation history has consecutive assistant messages. Returns the indices of the first consecutive pair found, if any.
crates/g3-core/tests/assistant_message_test.rs:28
← previousnext →701–800 of 3,053, ranked by callers