MCPcopy Create free account

hub / github.com/dhanji/g3 / functions

Functions3,053 in github.com/dhanji/g3

Methodnew_headless
Create a new ChromeDriver instance in headless mode This will connect to ChromeDriver running on the default port (9515). ChromeDriver must be instal
crates/g3-computer-control/src/webdriver/chrome.rs:143
Methodnew_headless_with_binary
Create a new ChromeDriver instance with Chrome for Testing binary
crates/g3-computer-control/src/webdriver/chrome.rs:148
Methodnew_interactive
Create a new interactive session
crates/studio/src/session.rs:65
Methodnew_window
Create a new window/tab
crates/g3-computer-control/src/webdriver/chrome.rs:283
Methodnew_window
Create a new window/tab
crates/g3-computer-control/src/webdriver/safari.rs:89
Methodnew_with_custom_prompt
Create a new agent with a custom system prompt (for agent mode) The custom_system_prompt replaces the default G3 system prompt entirely
crates/g3-core/src/lib.rs:263
Methodnew_with_mode
( config: Config, ui_writer: W, is_autonomous: bool, quiet: bool, )
crates/g3-core/src/lib.rs:333
Methodnew_with_mode_and_project_context
( config: Config, ui_writer: W, is_autonomous: bool, project_context: Option<S
crates/g3-core/src/lib.rs:342
Methodnew_with_name
Create a new AnthropicProvider with a custom name (e.g., "anthropic.default")
crates/g3-providers/src/anthropic.rs:293
Methodnew_with_name
( name: String, api_key: String, model: Option<String>, base_url: Option<Strin
crates/g3-providers/src/openai.rs:47
Methodnew_with_name
( name: String, api_key: String, model: Option<String>, max_tokens: Option<u32
crates/g3-providers/src/gemini.rs:83
Methodnew_with_name
Create a new embedded provider with a custom name.
crates/g3-providers/src/embedded/provider.rs:123
Methodnew_with_project_context_and_quiet
( config: Config, ui_writer: W, project_context: Option<String>, quiet: bool,
crates/g3-core/src/lib.rs:243
Methodno_changes
Create a ThinResult indicating no changes were made.
crates/g3-core/src/context_window.rs:788
Functionno_conditions_no_continue
()
crates/g3-core/tests/stream_completion_characterization_test.rs:306
Functionnon_autonomous_never_continues
()
crates/g3-core/tests/stream_completion_characterization_test.rs:200
Functionnormalize_path_unicode_spaces_converts_narrow_no_break_space
()
crates/g3-core/src/utils.rs:649
Functionnormalize_path_unicode_spaces_converts_no_break_space
()
crates/g3-core/src/utils.rs:657
Functionnormalize_path_unicode_spaces_handles_multiple_unicode_spaces
()
crates/g3-core/src/utils.rs:672
Functionnormalize_path_unicode_spaces_preserves_regular_spaces
()
crates/g3-core/src/utils.rs:665
Methodnotify_sse_received
(&self)
crates/g3-core/tests/streaming_completion_test.rs:327
Methodnotify_sse_received
(&self)
crates/g3-planner/src/llm.rs:306
Methodnotify_sse_received
(&self)
crates/g3-cli/src/ui_writer_impl.rs:1041
Methodoauth
(host: String)
crates/g3-providers/src/databricks.rs:151
Methodon_output_line
(&self, line: &str)
crates/g3-core/src/tools/shell.rs:96
Methodone_hour
()
crates/g3-providers/src/lib.rs:90
Methodpage_source
(&self)
crates/g3-computer-control/src/webdriver/safari.rs:201
Methodparse_cache_control
Convert cache config string to CacheControl enum
crates/g3-core/src/lib.rs:466
Methodparse_provider_reference
Parse a provider reference into (provider_type, config_name)
crates/g3-config/src/lib.rs:508
Functionparser_accumulates_text_before_tool
()
crates/g3-core/tests/stream_completion_characterization_test.rs:61
Functionparser_detects_complete_tool_call
()
crates/g3-core/tests/stream_completion_characterization_test.rs:41
Functionparser_detects_incomplete_tool_call
()
crates/g3-core/tests/stream_completion_characterization_test.rs:99
Functionparser_detects_unexecuted_tool_call
()
crates/g3-core/tests/stream_completion_characterization_test.rs:121
Functionparses_diff_with_context_and_hunk_headers
()
crates/g3-core/src/utils.rs:605
Functionparses_minimal_unified_diff_without_hunk_header
()
crates/g3-core/src/utils.rs:596
Methodpass
(reason: impl Into<String>)
crates/g3-core/src/tools/invariants.rs:541
Methodpending_count
Get count of pending (in-progress) research tasks
crates/g3-core/src/pending_research.rs:242
Methodpending_research_manager
Get a reference to the pending research manager.
crates/g3-core/src/lib.rs:867
Functionplan_tools_work
()
crates/g3-core/tests/stream_completion_characterization_test.rs:599
Functionplan_yaml
Helper: YAML for a simple plan with one item.
crates/g3-core/tests/plan_new_after_complete_test.rs:35
Functionplan_yaml_two_items
Helper: YAML for a plan with two items, each with independent state.
crates/g3-core/tests/plan_new_after_complete_test.rs:68
Methodplanning
Create a retry config for planning mode
crates/g3-core/src/retry.rs:56
Methodplayer
Create a retry config for player agent
crates/g3-core/src/retry.rs:38
Methodprint
(&self, _message: &str)
crates/g3-core/src/ui_writer.rs:170
Methodprint
(&self, _message: &str)
crates/g3-core/tests/streaming_completion_test.rs:276
Methodprint
(&self, message: &str)
crates/g3-planner/src/llm.rs:219
Methodprint
(&self, message: &str)
crates/g3-cli/src/ui_writer_impl.rs:226
Methodprint_agent_prompt
(&self)
crates/g3-core/tests/streaming_completion_test.rs:312
Methodprint_agent_prompt
(&self)
crates/g3-planner/src/llm.rs:288
Methodprint_agent_prompt
(&self)
crates/g3-cli/src/ui_writer_impl.rs:989
Methodprint_agent_response
(&self, response: &str)
crates/g3-core/tests/streaming_completion_test.rs:314
Methodprint_agent_response
NOTE: this is a partial response, so don't print newlines. Ideally we'd accumulate the message and only then print it.
crates/g3-planner/src/llm.rs:294
Methodprint_agent_response
(&self, content: &str)
crates/g3-cli/src/ui_writer_impl.rs:993
Methodprint_context_status
(&self, _message: &str)
crates/g3-core/tests/streaming_completion_test.rs:280
Methodprint_context_status
(&self, message: &str)
crates/g3-planner/src/llm.rs:233
Methodprint_context_status
(&self, message: &str)
crates/g3-cli/src/ui_writer_impl.rs:247
Methodprint_context_thinning
Print a context thinning message (legacy - for pre-formatted messages)
crates/g3-core/src/ui_writer.rs:34
Methodprint_envelope_compact
(&self, fact_groups: usize, stages: &[(&str, &str)], passed: Option<usize>, total: Option<usize>, failed: usiz
crates/g3-cli/src/ui_writer_impl.rs:908
Methodprint_g3_progress
(&self, _message: &str)
crates/g3-core/tests/streaming_completion_test.rs:281
Methodprint_g3_progress
(&self, message: &str)
crates/g3-planner/src/llm.rs:237
Methodprint_g3_progress
(&self, message: &str)
crates/g3-cli/src/ui_writer_impl.rs:251
Methodprint_g3_status
(&self, _message: &str, _status: &str)
crates/g3-core/tests/streaming_completion_test.rs:282
Methodprint_g3_status
(&self, message: &str, status: &str)
crates/g3-planner/src/llm.rs:241
Methodprint_g3_status
(&self, message: &str, status: &str)
crates/g3-cli/src/ui_writer_impl.rs:255
Methodprint_inline
(&self, _message: &str)
crates/g3-core/src/ui_writer.rs:172
Methodprint_inline
(&self, _message: &str)
crates/g3-core/tests/streaming_completion_test.rs:278
Methodprint_inline
(&self, message: &str)
crates/g3-planner/src/llm.rs:227
Methodprint_inline
(&self, message: &str)
crates/g3-cli/src/ui_writer_impl.rs:234
Methodprint_plan_compact
(&self, plan_yaml: Option<&str>, plan_file_path: Option<&str>, is_write: bool)
crates/g3-cli/src/ui_writer_impl.rs:725
Methodprint_status_line
(&self, message: &str)
crates/g3-planner/src/llm.rs:211
Methodprint_system_prompt
(&self, _prompt: &str)
crates/g3-core/src/ui_writer.rs:173
Methodprint_system_prompt
(&self, _prompt: &str)
crates/g3-core/tests/streaming_completion_test.rs:279
Methodprint_system_prompt
(&self, _prompt: &str)
crates/g3-planner/src/llm.rs:231
Methodprint_system_prompt
(&self, prompt: &str)
crates/g3-cli/src/ui_writer_impl.rs:239
Methodprint_thin_result
(&self, _result: &g3_core::ThinResult)
crates/g3-core/tests/streaming_completion_test.rs:283
Methodprint_thin_result
(&self, result: &g3_core::ThinResult)
crates/g3-planner/src/llm.rs:245
Methodprint_thin_result
(&self, result: &g3_core::ThinResult)
crates/g3-cli/src/ui_writer_impl.rs:261
Methodprint_todo_compact
Print a compact TODO tool output with styled content Format: " ● todo_read" header, then styled content lines, no timing content: None for empty, Some
crates/g3-core/src/ui_writer.rs:67
Methodprint_todo_compact
(&self, _content: Option<&str>, _is_write: bool)
crates/g3-core/tests/streaming_completion_test.rs:306
Methodprint_todo_compact
(&self, content: Option<&str>, is_write: bool)
crates/g3-cli/src/ui_writer_impl.rs:660
Methodprint_tool_arg
(&self, _key: &str, _value: &str)
crates/g3-core/tests/streaming_completion_test.rs:290
Methodprint_tool_arg
(&self, _key: &str, _value: &str)
crates/g3-planner/src/llm.rs:281
Methodprint_tool_arg
(&self, key: &str, value: &str)
crates/g3-cli/src/ui_writer_impl.rs:272
Methodprint_tool_compact
( &self, _tool_name: &str, _summary: &str, _duration: &str, _tokens: u
crates/g3-core/tests/streaming_completion_test.rs:296
Methodprint_tool_compact
(&self, tool_name: &str, summary: &str, duration_str: &str, tokens_delta: u32, _context_percentage: f32)
crates/g3-cli/src/ui_writer_impl.rs:481
Methodprint_tool_header
(&self, _tool_name: &str, _tool_args: Option<&serde_json::Value>)
crates/g3-core/tests/streaming_completion_test.rs:285
Methodprint_tool_header
(&self, tool_name: &str, tool_args: Option<&serde_json::Value>)
crates/g3-planner/src/llm.rs:257
Methodprint_tool_header
(&self, tool_name: &str, _tool_args: Option<&serde_json::Value>)
crates/g3-cli/src/ui_writer_impl.rs:266
Methodprint_tool_output_header
(&self)
crates/g3-core/tests/streaming_completion_test.rs:291
Methodprint_tool_output_header
(&self)
crates/g3-planner/src/llm.rs:282
Methodprint_tool_output_header
(&self)
crates/g3-cli/src/ui_writer_impl.rs:291
Methodprint_tool_output_line
(&self, _line: &str)
crates/g3-core/src/ui_writer.rs:182
Methodprint_tool_output_line
(&self, _line: &str)
crates/g3-core/tests/streaming_completion_test.rs:293
Methodprint_tool_output_line
(&self, _line: &str)
crates/g3-planner/src/llm.rs:284
Methodprint_tool_output_line
(&self, line: &str)
crates/g3-cli/src/ui_writer_impl.rs:456
Methodprint_tool_output_summary
(&self, _total_lines: usize)
crates/g3-core/tests/streaming_completion_test.rs:294
Methodprint_tool_output_summary
(&self, _hidden_count: usize)
crates/g3-planner/src/llm.rs:285
Methodprint_tool_output_summary
(&self, count: usize)
crates/g3-cli/src/ui_writer_impl.rs:466
Methodprint_tool_streaming_active
(&self)
crates/g3-core/tests/streaming_completion_test.rs:310
Methodprint_tool_streaming_active
(&self)
crates/g3-planner/src/llm.rs:315
← previousnext →1,301–1,400 of 3,053, ranked by callers